Tfs Query to retrieve a particular type of WorkItems that is linked with a given list of other WorkItems

StackOverflow https://stackoverflow.com/questions/10542592

  •  07-06-2021
  •  | 
  •  

Question

So I have a a list of tfs work items of one particular type ("Test Case") and I want to find all work items of another type ("Review) that are linked to at least one of the ones of the first list.

How would I go about and define such a query (or a number of queries.. but if multiple are necessary, obviously the fewer the better)?

Était-ce utile?

La solution

Create your query with the clause for Work Item Type of Test Case.

Change the Type of Query to Work Items and Direct Links, then in the second Filter control set the clauses you want for the linked work items.

It should look something like this (taken from Dev11 but pretty much the same in VS2010):

TFS Query

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top