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

Accept baseline from one stream to another in the server plugin

 Hi,

I have 2 streams, let's call them streamA and streamB.

I have streamA as a flow target of streamB.
I create a new baseline in streamB.
I would like to accept this new baseline into streamA through the server api.
I am currently using the acceptCombined in the ScmService class but it checks if this operation is occuring on a workspace or a stream. If the operation is performed on a stream I get the "InvalidStreamOperation" exception "Illegal operation ('accept') for stream"

Is it possible to accept the changes directly on the stream? If so what method do we need to use to get this working?

Thanks,

Mike

0 votes


Accepted answer

Permanent link
Hi Mike, streams cannot "accept" from another stream. Just have stream B deliver the baseline to stream A instead.
Mike Brouwers selected this answer as the correct answer

0 votes


One other answer

Permanent link
 Thanks!

that worked! 

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,948
× 1,204
× 411
× 235

Question asked: Sep 16 '14, 2:38 p.m.

Question was seen: 5,937 times

Last updated: Sep 16 '14, 2:57 p.m.

Confirmation Cancel Confirm