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

API to Add Component to Stream

Hi,

I want to Add a Component to a main Stream.

We only have one main Stream called MAIN (Project Area IVP)

 

My problem is that I have a main Stream called "MAIN" with project area "IVP" and also one called "MAIN" with project Area 'Test".  If I want to Add component 'X' to main Stream "MAIN" with project area "IVP" using a java API

it adds component 'X' to main Stream "MAIN" with project area "Test"

Can anyone help me ?

Thanks

Stef

0 votes


Accepted answer

Permanent link

I think the best advice to give here is a naming convention.

Other than that, you will likely have to figure out a difference that you can use to decide which stream is which. For example you could try to figure out who the owner of the stream is, or its privacy settings. See
com.ibm.team.scm.client.IFlowNodeConnection.getOwner() and com.ibm.team.scm.client.IWorkspaceConnection.getReadScope()

Stef Wolff selected this answer as the correct answer

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,954

Question asked: Jul 26 '18, 10:57 a.m.

Question was seen: 1,552 times

Last updated: Jul 27 '18, 2:20 a.m.

Confirmation Cancel Confirm