In a given area path, I would to get the list of stories that does not have parent feature link. How should I write the query for it?
Asked
Active
Viewed 70 times
0
-
Possible duplicate of [TFS query for tasks with no parent](https://stackoverflow.com/questions/28681059/tfs-query-for-tasks-with-no-parent) – riQQ Sep 11 '19 at 12:50
-
Hi Kay, hope you are doing well. How about this issue? **Only return items that do not have matching links" should work as your demand. – PatrickLu-MSFT Sep 17 '19 at 01:37
1 Answers
0
To achieve you could change the type of your query to the Work items and Direct Links query, then choose the option to pull back all work items without any matching links. The results will still be a flat list.
In the filters for top level work items, just add a filed to specify a detail area path and choose corresponding work item type.
More details please take a look at our official here: Use direct links to view dependencies
Hope this helps.

PatrickLu-MSFT
- 49,478
- 5
- 35
- 62