It's all about the answers!

Ask a question

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


Shiva Tiwari (1717) | asked Mar 19 '18, 11:59 p.m.

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 ?
 

Accepted answer


permanent link
Ralph Schoon (63.6k33647) | answered Mar 27 '18, 6:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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

Comments
Shiva Tiwari commented Mar 28 '18, 4:50 a.m.

@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 ? 


1
Ralph Schoon commented Mar 28 '18, 4:58 a.m. | edited Mar 28 '18, 4:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.

One other answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 01 '18, 12:53 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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.

Your answer


Register or 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.