It's all about the answers!

Ask a question

How to create a query from Java API to filter workitems based on Parent ID?


Muthukumar C (32712833) | asked Sep 18 '12, 12:44 a.m.
hi,

It is possible to do a query from RTC front end as Parent --> ID = 1234. So that the Work Items with the Parent ID as 1234 will be displayed in the Result.

Same scenario I want to achieve thru Java API query. (Server Side). Is it possible? How?

Thanks in advance.

Comments
Muthukumar C commented Sep 18 '12, 12:45 a.m. | edited Sep 18 '12, 12:46 a.m.

I don't want to use the End point descriptor to get the Parent / Children because, I want to restrict the search within the Current project area.

One answer



permanent link
Lauren Hayward Schaefer (3.3k11727) | answered Sep 18 '12, 7:37 a.m.
JAZZ DEVELOPER
To do so from the RTC Web Client, go to Work Items > Create Query.  Click Add Condition.  In the Add Condition box, expand Parent.  Click ID.  Click Add Attribute Condition.  In the Parent > ID is box, type 1234.  Click Run.

I'm unfamiliar with how to query work items through the Java API, but I'm sure it's possible.

Comments
Muthukumar C commented Sep 18 '12, 7:39 a.m. | edited Sep 18 '12, 7:39 a.m.

Thanks Lauren, I wanna do it Server Side plugin thru Java API. Lets wait for some more answers

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.