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

One answer

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.
I'm unfamiliar with how to query work items through the Java API, but I'm sure it's possible.
Comments
Muthukumar C
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.