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

RTC6.0.6.1 how to verify associated workitem status when deliver a changeSet

 Hi 

I use RTC 6.0.6.1 
My customer need to verify associated workitem  status when they deliver the chageSet.
Can I use  RTC API to implement it ?
thank you!

0 votes

Comments
Thank you  very much @Ralph Schoon,Your method worked very well
But if  user deliver a baseline , the changeset list is empty ,the baseline list has value .
how can i get the changeset  from the baseline ?
thanks for your reply!!

To get change sets from a baseline, you need to compare that baseline with some other baseline, unless you want every change set that contributes to that baseline, in which case you can get that change set list from the history of that baseline. 

1 vote

@Geoffrey Clemm

Thank you very much ,for your suggest ,I solved the my problems

IChangeHistorySyncReport syncReport =  scmService.compareBaselines(baselineHandle, baselineHandle2, null, null);
List<IChangeSetHandle> changeSets = syncReport.outgoingChangeSets();


Accepted answer

Permanent link
Yes, you can.

Gou Peng 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
× 12,025
× 149
× 102
× 12

Question asked: Dec 31 '19, 3:26 a.m.

Question was seen: 1,427 times

Last updated: Jan 03 '20, 5:39 a.m.

Confirmation Cancel Confirm