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

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.

0 votes



2 answers

Permanent link
 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.

0 votes


Permanent link
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).

0 votes

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
× 10,936

Question asked: Sep 24 '13, 5:51 a.m.

Question was seen: 4,367 times

Last updated: Sep 25 '13, 6:06 p.m.

Confirmation Cancel Confirm