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? |
One answer
![]() 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 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
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.