How to fetch all the change-sets between two specific baselines programmatically?
Ping Cao (1●2●4)
| asked Apr 08 '15, 8:29 a.m.
edited Apr 08 '15, 8:35 a.m. by Ralph Schoon (63.5k●3●36●46)
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! |
2 answers
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 |
Check below link:
On line 206~260:
|
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.