Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DavidPlante
Regular Visitor

How to get State from test case from Azure DevOps

Hi!

I'm looking for a solution to this: I need to query all test cases under a particular Test Plan, and fetch the State value, so I could calculate a percentage of test case "Ready" on the total of test case under that suite.

 

I was planning to start from entitySet Tests or TestPoints, but neither of those have the State. 

 

Then, I thought I could use the entitySet WorkItem, but I can't find a way to track Test Cases from a given Test Plan.

 

Any thought on how I could achieve this? The end goal here is to calculate a percentage of "Ready" tests from all the test cases under a particular Test Plan.

 

Thanks and have a nice day!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @DavidPlante ,

Perhaps you can try to use odata connector to get data from azure devops with custom queries:

How can I connect PowerBi to Queries in Azure Devops? - Stack Overflow

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @DavidPlante ,

Perhaps you can try to use odata connector to get data from azure devops with custom queries:

How can I connect PowerBi to Queries in Azure Devops? - Stack Overflow

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.