How do I build a tree of work items based on Parent/Child/sub child.. relations, and then get a list of items linked to both parent and children that has a specific work item type?
My Parent/Child structure looks like this:
ID Work Item Type Name
188 Feature Feature with test case
189 User Story Story with test case
190 Task Task with test case
I’ve tried with work items and direct links based on this recommendation like this:
Type of query: Work items and direct links
Filters for top level work items
Field Operator Value
Work Item Type = [Any]
And Area Path Under POC Works
Filters for linked work items
Field Operator Value
Work Item Type In Group Microsoft.TestCaseCategory
Filter options Type of links
Return all top level items ø Return links of any type
o Return selected link types
(Would love to upload pictures of the query, but are apparently blocked from doing so)
Adding any sort of ID restriction to the top level query for items related to the tree of Feature #188, stops the query from traversing all children. I need this limited scope.
How can this be done?