It's all about the answers!

Ask a question

API for determining which work items have associated change sets


Aruljothi Sivakurunathan (31108) | asked Sep 20 '12, 6:05 a.m.
converted Sep 20 '12, 10:44 a.m. by David Olsen (5237)
I am not familiar on any API on RTC. However i have a requirement to find the list of workitems (amoung the given list) that has some changesets associated with it and the list of workitems that does not have any changesets. What is the best way to get that info and what language i should use (I am familiar in Perl and other scripting languages). Is there anything i should do to enable API interface on our RTC server. Regards, Aruljothi.S

2 answers



permanent link
Lauren Hayward Schaefer (3.3k11727) | answered Sep 28 '12, 6:54 a.m.
JAZZ DEVELOPER
Hi Aruljothi,
I've not tried to create a query like the one you're describing.  I searched around jazz.net and found this post that might help you get started in retrieving changesets:  https://jazz.net/forum/questions/3392/fetching-change-set-for-work-item.  https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation can help you get started in working with work items using the API.  https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples has an example query you can tweak.

permanent link
Ralph Schoon (63.1k33645) | answered Sep 28 '12, 7:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Aruljothi,

I blogged over the client link API here: http://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/

This includes ways to determine the links (including changesets) that a given work item has. There might be a way to do it more efficient, but this would help you to get started.

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.