How to get project area and stream name using fileitem/versionable handle (item id and state id)
Hi everybody,
I have a question about how to get project area and stream name using fileitem/versionable handle (item id and state id).
Thank you!
|
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Feb 19, 3:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER As far as my experience goes, is the SCM system designed that its items are not part of the project area hierarchy. Streams can be owned by project areas and you can control access and visibility, but there is no natural relationship to versionables. You would have to use search capabilities such as locate change sets to find out, if a versionable is in a stream. For the stream you would have to look at the ownership properties to see, if there is a relationship to a project area.
Quang Ngo Minh selected this answer as the correct answer
Comments
Quang Ngo Minh
commented Feb 19, 11:33 p.m.
Ok, do you know any locate change sets APIs that we can implement in Java? There are the available APIS: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding
Your only options to access the SCM data is the EWM/RTC SDK or the EWM Plain Java Client Libraries.
See https://rsjazz.wordpress.com/2024/02/09/ewm-rational-team-concert-extensions-workshop-changes-for-7-0-3/ and https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ to get started. https://github.com/jazz-community/ewm-scm-utils has some example code as well.
Quang Ngo Minh
commented Feb 21, 3:35 a.m.
Oke, thank you so much, grateful! |
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.