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 (153) | asked Feb 28, 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.2k7) | answered Feb 28, 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, 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, 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.