What is the Java API to accept/deliver baseline?
![]() Could you please suggest plain Java API for accept or deliver baseline? |
Accepted answer
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Apr 26 '19, 1:22 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Andrew Ciaz selected this answer as the correct answer
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 ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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? ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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
|