Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is it possible changeset is not associated to any of the component ?

I am using RTC enterprise version 6.0.4. 


I am using rtc plain java api to retrieve all changesets for a component using IChangeSetSearchCriteria. Using the same api I can get all changesets in a server If I don't apply the component filter criteria.

I was going through some more investigation and came across this url, which returns all changesets in a server :

https://<server-url>:<port>/ccm/rpt/repository/scm?fields=scm/changeSet/*

So I just wanted to understand RTC on data base level is it possible if somehow a component is deleted and still changesets exist in RTC DB, so when we use above url , it returns list of those changesets too ?

Or Is there any java api (or url as above) which can give me list of all changesets which are not associated any of the component ?
 

0 votes


Accepted answer

Permanent link

In the past it was not possible to delete a component, so there is no reason to worry about this question. Change sets could also only be created for a component.

If you can delete change sets in the future one will have to see.

So I would suggest a not for all your questions at the moment.

Shiva Tiwari selected this answer as the correct answer

1 vote

Comments

@Ralph , Thanks for the response. I checked it that a component deletion is not possible only we can change the accessibility of it so that it's not visible to anyone except jazz admin. But is there a way we can detach a changeset to a component ? 

I don't know. You can setup the SDK and look at all the API. Please share your findings. Thanks.

PS: I am still thinking that you waste time with a non issue.

1 vote


One other answer

Permanent link

 A change set always lives in a component (and will always live in a component), so no, you will never have a change set that does not belong to a component.   When component deletion is supported, deleting a component will automatically delete all change sets in that component.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,939
× 457
× 149

Question asked: Mar 19 '18, 11:59 p.m.

Question was seen: 2,852 times

Last updated: Apr 01 '18, 12:53 p.m.

Confirmation Cancel Confirm