Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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

0 votes



One answer

Permanent link

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.

0 votes

Comments

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

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,495
× 1,700
× 113

Question asked: Feb 28 '19, 7:01 a.m.

Question was seen: 2,624 times

Last updated: Mar 04 '19, 4:10 p.m.

Confirmation Cancel Confirm