Find a work item by attribute through java api
Hello,
I want to create an operation advisor to add a link between the current work item and some other work item. I need to query RTC to find the other work item (thus get its IWorkItem instance). How can I do this? The query must be by the work item type and an attribute. Thanks for the help. |
Accepted answer
see this topic
https://jazz.net/forum/questions/161814/search-workitems-based-on-the-value-of-the-custom-attribute and this answer
Sujith Gannamaneni (16●4) | answered Aug 27, 11:03 a.m.
and Ralph's blog https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ these are client side examples, but not too much different on the server side Thiago Barreto selected this answer as the correct answer
Comments
Thiago Barreto
commented Sep 02 '14, 9:46 a.m.
Sam, thanks for the answer. It has been very helpful.
sam detweiler
commented Sep 02 '14, 9:58 a.m.
private static IQueryService fQueryService = null;
Thiago Barreto
commented Sep 02 '14, 3:00 p.m.
Thanks again, Sam
|
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.