It's all about the answers!

Ask a question

Download changesets from workitem


satish chandra (111921) | asked Nov 19 '14, 12:43 a.m.
edited Nov 19 '14, 2:43 a.m. by Ralph Schoon (63.7k33648)
Hi,

We are using RTC 4.0.4.
I have a requirement to download the files in the changesets from a workitem. Is it possible through RTC API.

One answer



permanent link
SEC Servizi (97123860) | answered Nov 19 '14, 4:09 a.m.
Sure you can! :) Steps you need are:
  1. Retrieve work-item by ID: com.ibm.team.workitem.common.IWorkItemCommon#findWorkItemById
  2. Retrieve change-set linked to work-item: com.ibm.team.links.service.ILinkServiceLibrary#findLinks and use ILinkConstants.CHANGESET_WORKITEM_LINKTYPE_ID as link type.
  3. Retrieve changes belong to change-set
We would advice you to take a look at the RTC Extension Workshop: https://jazz.net/library/article/1000
Cheers.

Your answer


Register or 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.