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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Query DevOps Work Items Planned & Completed or Resolved in an Iteration

Hi

I need to build a Power BI report that shows all teh work items that were planned in an Iteration (Sprint) and those that wer completed/resolved in that Sprint.

As some work items are moved from one sprint to next I need these to be captured too.

I can't seem to get a query working to show this. I must be missing something. 

Can anyone help?

 

Much appreciated!

Rosie

1 ACCEPTED SOLUTION
Anonymous
Not applicable
4 REPLIES 4
Anonymous
Not applicable
V-pazhen-msft
Community Support
Community Support

@Anonymous 

Not clear, can you explain your question with sample data.


Read this post to describe your sample:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

 

Paul Zheng _ Community Support Team

Anonymous
Not applicable

@V-pazhen-msft I am unable to save the .pbix file sample data here in a post due to security SW blocking. Is there another way I can send it to you?

It's from this file we need the report created "Work Items Planned & Completed For Each Iteration (Sprint)".

Anonymous
Not applicable

Hi Paul,

I don't really have any sample data ... we haven't set up teh report yet. However here is some more detail than can probably make it clearer:

1. I am querying an Azure Devops Project that is set up to the Scrum Process

2. A work item has an original Iteration Path ("sprint") it belongs to, however it may not be closed in that sprint.

Example: there was not enough time to complet teh Work Item (Product Backlog Item, Bug) in sprint 3 so it's moved to sprint #4.

In this case teh query would need to provide the following output for Sprint #4:

 - nº of work items planned: this will include the above work item that transitioned from sprint #3 

 - nº work items in State "Done" - tsi would include all work items planned and completed in sprint #4

 

Does this help to clarify?

 

Currently the queries I can find in MIcrosoft docuemnation will provide the number of work items originally planned in teh sprint and does not include work items that have transitioned form other previous sprints. An example is the query using the below:

https://analytics.dev.azure.com/{OrganizationName}/{ProjectName}/_odata/{version}/WorkItems?$filter=... eq 'Project Name\Iteration 1'

 

Tahnsk for taking time to try and answer, really appreciated!

 

Rosie

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors