Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS query for tasks with no parent

I would like create a Flat list of work items query in TFS in which the results contain all of the specified PBI and Bug cases and any Task cases that have no parent.

It's that Task with no parent part that has me perplexed. I cannot see a way that I can do what seems so obvious such as (Parent Link Count = 0) because that attribute is not exposed to me though, strangely, some other link type counts are.

Any ideas?

like image 503
Greg Prosch Avatar asked Feb 23 '15 18:02

Greg Prosch


1 Answers

You need to change the type of your query to the 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.

enter image description here

like image 139
Dylan Smith Avatar answered Nov 08 '22 04:11

Dylan Smith