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 ?
|
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| 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.
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.
|
One other answer
Geoffrey Clemm (30.1k●3●30●35)
| 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
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.