API for determining which work items have associated change sets
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
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.
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.
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.
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.