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 Sam, thanks for the answer. It has been very helpful.
private static IQueryService fQueryService = null;
Thanks again, Sam
|