It's all about the answers!

Ask a question

Programmatically Fetch Work item depending upon Custom Attribute value


jyoti mishra (45148) | asked Dec 29 '20, 7:58 a.m.

 Hello Everyone,


I want to fetch Work item by matching custom attribute value,so kindly guide me ,how we can achieve these.I know ,we can achieve these by using OSLC ,Reportable rest API or Query API.I Know we can get data by iterating all Work item data of specific work item type,but I don't want to iterate the whole Work item,so kindly guide me how we can achieve these by directly matching the Attribute value from all the Workitems of that project Area.

Thanks and Regards,
Jyoti

One answer



permanent link
Ralph Schoon (63.4k33646) | answered Dec 29 '20, 1:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You could use a predefined query for this. You can run predefiened queries
  1. Using REST APIS.
  2. Using Java APIs.
You can use the Java API to create expressions or queries and then run said query/expression.
You can try using OSLC Queries vor an attribute value, if this works depends on the queryability of the attribute.

Without more context, this is all I am able to provide.

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.