Shashank R
Shashank R

Reputation: 19

MTM/VSTS Query for two-level hierarchy work items

It would be great if i can get a query in MTM/VSTS to pull out testing metrics with the below hierarchy:

Test suite(ID: 1) -> Test cases (ID: 11,12,13,14) -> Shared steps/Bugs(ID: 21, 22)

As of now i am using two different queries to achieve this. (one for extracting Test cases from Test suite and another for extracting Shared steps/bugs from Test case.) I need a single query for this so that i have single report as below: enter image description here

Thanks in advance.

Upvotes: 0

Views: 136

Answers (1)

starian chen-MSFT
starian chen-MSFT

Reputation: 33708

You can’t do it through the Query directly. There is a Work Item Visualization extension that can do it.

Simple steps:

  1. Run a query (e.g. Work Items and direct links) to get related test suites
  2. Right click these test suites=> Visualize

enter image description here

Upvotes: 0

Related Questions