How to find the workspace in which a change set is checked-in (created) and then delivered to the stream using java API?
![]()
I want to find the workspace from which a change set is originated (created) and delivered to the stream using java API. I have the IChangeSetHandle available with me.
|
2 answers
![]()
Hi,
I think you have to check every single stream using IScmService.changeSetsInWorkspace method. It tells you if a change set is in a workspace (a stream is a workspace) or not.
I don't know a single command to perform a search in all the streams.
|
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Sep 25 '13, 6:06 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You cannot in general tell in what workspace a change set was created, although as I recall, there is some workspace information stored in the work-item/change-set, so you might be able to find it there if there is a work item, and if the work item were associated to the change-set when the change-set was created. The fact that a workspace contains a change set does not mean it was created there. Similarly, there is no record of the workspace from which a change-set was delivered (it might not have been delivered from a workspace at all ... it might have been delivered directly from another stream, or might be in the stream because of a "replace" operation).
|
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.