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

What is the Java API to accept/deliver baseline?

 Could you please suggest plain Java API for accept or deliver baseline?

0 votes


Accepted answer

Permanent link

https://rsjazz.wordpress.com/2013/09/30/delivering-change-sets-and-baselines-to-a-stream-using-the-plain-java-client-libraries/

Andrew Ciaz selected this answer as the correct answer

0 votes

Comments

 @Ralph Schoon Thanks for your reply

@Ralph Schoon, I saw your solution, is it possible to accept/deliver empty baseline through Java API 

What is an empty baseline? What is the error if you try? 

@Ralph Schoon empty baselines are those which does not contain any change sets

Note: We would need a description of the error you get when you try to deliver an empty baseline. 

Note: To be precise, it is not that the baseline contains no change sets, but rather that the baseline has a subset of the change sets that are in the target stream, so the deliver operation would not add any change sets to the target stream (but only add a baseline to the baseline history of the target stream).

Thanks @Geoffrey Clemm for the suggestion. So if I create baseline without changeset the still baseline shows the previous history of changesets in it, right? 

That is correct.   The new baseline is effectively a copy of the old baseline ... and contains all the change sets of the old baseline. 

 Hi @Geoffrey Clemm

 I am doing good with your solution but after accept baseline through code my project shows "out of sync". Could you please help me. Because in history I can see the changeset and baseline which I accept through code, but changes are not reflected in the sandbox.

I see you opened a separate question on this (which is good).   So let's continue this part of the discussion  in that question ( https://jazz.net/forum/questions/263692 )

showing 5 of 9 show 4 more comments

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

Question asked: Apr 26 '19, 7:49 a.m.

Question was seen: 1,538 times

Last updated: Jun 24 '19, 3:42 p.m.

Confirmation Cancel Confirm