RTC Query based on "Parent ID" not finding any matches
2 answers
This would be so much easier if I just knew how to post an image...
- In the eclipse client create a new query by right clicking on "Work Items" in Team Artifacts,
- Select "Start from scratch"
- Click on the green plus sign.
- You should see a dialog with a row of check-boxes near the bottom.
- Make sure that the check-box for "Show links" is checked.
- At the top of the dialog where it says "type filter text" you enter "Id" (no quotes).
- Now scroll down the list of various things with an Id until you see "Parent".
- Click on "Id" in the row below parent. Id in the row below parent should now be selected
- Click OK.
- You should now have a box in your query. The box should say something like "Parent > Id is".
- Now enter the parent Id in the text field of the box.
- This should find all children of the given parent Id.
Perhaps you are using the web client?
Comments
I tried with the web client - no problem adding parent --> id to a new query. When I enter a value it gets all the child tasks whose parent has this id. In RTC 4.0 I tried (with web) and could make that part dynamic, so the query would ask the parent id when running.
- Arne
Thanks.. I also found how to expand the "Parent" and was successful in adding parent->id to the query and it worked. (FYI.. the client I'm using did not have the "Show Links" option )
- In the eclipse client create a new query from scratch.
- Add a new query condition to query based on an attribute. Make sure the "Show links" checkbox is checked.
- Enter "ID". Scroll down to where you see Parent:ID and double click ID.
- Click OK.
- Enter the id as a plain number. No special characters.
- Run the query. You should see all children of the given parent.