Accept baseline from one stream to another in the server plugin
![]()
Mike Brouwers (34●13●18)
| asked Sep 16 '14, 2:38 p.m.
retagged Sep 16 '14, 2:48 p.m. by Remy Suen (426●2●2●4)
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
|
Accepted answer
![]()
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
|
One other answer
|
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.