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

How to fetch all the change-sets between two specific baselines programmatically?

Hi,

My requirement is to fetch all the change-sets between specific baselines by program. I know I can compare these two baselines in RTC client to show all the change-sets between them. However, I want to do the same thing by program.

Does anyone know how to achieve that? It'll be very nice if you can give me direction. Thanks a lot!

0 votes



2 answers

Permanent link
 Check below link:

On line 206~260:
  1. IChangeHistorySyncReport changeHistory = pbaseLineConnection  
  2.                                     .compareTo(  
  3.                                             baseLineConnection.getBaseline(),  
  4.                                             null); 
  5. ...


0 votes


Permanent link
The scm CLI "compare" command can compare two baselines. If you want to do it with the API, use com.ibm.team.scm.client.IBaselineConnection#compareTo().

References:
https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/compare.html
https://jazz.net/forum/questions/23378/using-api-how-to-compare-two-baselines-to-get-changesets
https://jazz.net/forum/questions/67780/scm-versus-api

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,930
× 233
× 84

Question asked: Apr 08 '15, 8:29 a.m.

Question was seen: 4,773 times

Last updated: Apr 08 '15, 9:24 p.m.

Confirmation Cancel Confirm