It's all about the answers!

Ask a question

how to get stream/snapshot id by knowing state and item id of a fileitem/versionable?


akshay p (15116) | asked Feb 28 '19, 7:01 a.m.

how to get stream id by knowing state and item id of a fileitem/versionable?

One answer



permanent link
David Lafreniere (4.8k7) | answered Feb 28 '19, 10:14 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

A given versionable(with state) can exist in multiple change sets / components, and a given change set can exist in multiple streams / snapshots. There may be no unique answer to this question and there is no API for this. If you knew the change set that you cared about, you could use Locate Change Set API to determine which streams / snapshots contain that change set.


Comments
akshay p commented Mar 04 '19, 6:23 a.m.

which is the API to locate Locate Change Set API to determine which streams / snapshots contain that change set.


David Lafreniere commented Mar 04 '19, 4:10 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

If you want to find worksapces/streams containing a specific change set, see the code by Benjamin Maier in: https://jazz.net/forum/questions/235177/how-to-get-the-file-path-of-a-changed-file-in-rtc-with-java

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.