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

How to get all the change sets linked to a specified work item?

Hi,
I want to know all the change sets linked to a work item. However, I can't find any methods in Plain Java API. Does anybody know how to do that? It'll be very appreciate if you can give me some help. Thanks a lot!

0 votes



One answer

Permanent link
The change sets are connected to the work item using a special link type.

This post shows the reverse direction: https://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/

https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/ explains linking and also has code to analyze the links.

The latest code for linking I have is here: https://rsjazz.wordpress.com/2015/02/27/a-rtc-workitem-command-line-version-2-2/

Note, you can only follow that specific link type but not set it. That is limited to the SCM component.

1 vote

Comments

Hi,
Thanks for your answer.
But, sorry, I think I didn't make myself clear. My problem is that I want to fetch all the change-sets that are linked to a specified work item.
Would you please give me some help? I have searched the answer for a long time but didn't find it. I saw someone post the similar question to Jazz Forum, but no one answer it.

Since I am not clear what fetch a change set would mean. So I can't search.

I have some code for working with change sets on my blog (rsjazz) there is some here: http://thescmlounge.blogspot.de/

1 vote

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,940

Question asked: Mar 13 '15, 6:28 a.m.

Question was seen: 3,145 times

Last updated: Mar 13 '15, 7:41 a.m.

Confirmation Cancel Confirm