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.
Hi Aruljothi,
I've not tried to create a query like the one you're describing.  I searched around and found this post that might help you get started in retrieving changesets: can help you get started in working with work items using the API. has an example query you can tweak.

permanent link
Ralph Schoon (63.2k33646) | answered Sep 28 '12, 7:59 a.m.
Hi Aruljothi,

I blogged over the client link API here:

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.