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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
andrekroker
Resolver I
Resolver I

Is it possible to connect Azure sprint capacity data into PowerBI?

Hey everyone!
I want to connect data from the Sprint Capacity on Azure DevOps into PowerBI in order to perform more capacity analysis on PowerBI rather than using Azure capacity charts. The data I want to export from Azure to PowerBI is the info shown below:


Sprint Capacity.jpg

 

 

 

 

 

 

 

 

Any clue on how to do it?

1 ACCEPTED SOLUTION

It seems one way of getting this data is through API.

Not possible through Analytics View.

View solution in original post

7 REPLIES 7
fdr600
Frequent Visitor

This is what I tried and worked for me. 

 

Learning Curve:

  1. I tried the same DevOps REST API in POWERBI via "Web" data source but authentication some how got me stuck. Not saying that there might not be a way, it just didnt work for me so I went outside of POWERBI. 
  2. Tried the REST API via Postman and tried two API with GET verb. I had used basic authentication with a full access PAT to test out the data. 
  3. Once REST services were tested and I got the confidence, instead of pulling this data via POWERBI, I opted for Power Automate (Flow) as my pseudo ETL approach. 
  4. Built a single Cloud flow with schedule (occurrence) and then made first attempt for Iteration ID list and using that calling capacity for each. 
  5. There is a "Move" step that I added prior to "Create" just because i thought of placing old files into archive in case I need them. This only works if you have a file in the destination to pick and move, so ran the flow with only create and then added move step - didn't wanted to spend more time cleaning it up fdr600_0-1639173168782.png

     

     
  6. Placed these JSON files in SharePoint from where I will consume it in POWERBI and parse it into a table structure.

Solution:

REST APIs Used

Image of the Cloud flow used

<Image cannot be loaded>

Parse Jason Schema: 

{
    "type""object",
    "properties": {
        "count": {
            "type""integer"
        },
        "value": {
            "type""array",
            "items": {
                "type""object",
                "properties": {
                    "id": {
                        "type""string"
                    },
                    "name": {
                        "type""string"
                    },
                    "path": {
                        "type""string"
                    },
                    "attributes": {
                        "type""object",
                        "properties": {
                            "startDate": {
                                "type""string"
                            },
                            "finishDate": {
                                "type""string"
                            },
                            "timeFrame": {
                                "type""string"
                            }
                        }
                    },
                    "url": {
                        "type""string"
                    }
                },
                "required": [
                    "id",
                    "name",
                    "path",
                    "attributes",
                    "url"
                ]
            }
        }
    }
}

After this got a collection of JSON files to process in POWERBI. Hope this helps. 

Hi! I am trying to do this exact thing in Power Automate. Could you share an image and details of your flow?

v-easonf-msft
Community Support
Community Support

Hi ,  @andrekroker 

Could you please tell me whether your problem has been solved?
If it is,  please mark the helpful replies or add your reply as Answered to close this thread.
It will help other community members easily find the solution when they get the similar issue.

 

Best Regards,
Community Support Team _ Eason

It seems one way of getting this data is through API.

Not possible through Analytics View.

v-easonf-msft
Community Support
Community Support

Hi, @andrekroker 

Not very clear.

Maybe you can refer to this document. Sprint burndown sample reports.

It is suggested to create a support ticket to investigate this issue. Once you create a support ticket, please share the same here for reference.
https://powerbi.microsoft.com/en-us/support/ 

 

Best Regards,
Community Support Team _ Eason

@v-easonf-msft I have achieved it for my own needs, do let me know if this helps. Solved: Re: Is it possible to connect Azure sprint capacit... - Microsoft Power BI Community

Hi Friends,

Even I am trying to get the same for my report.
At present I am using Analytics View to get all ADO work items data into PBI, but stuck at a few things, like:
1) Sprint Capacity for Each Sprint
2) Finding the Current Sprint 
3) Acceptance Criteria for all User Stories in my list
4) Description of Work Items for all work items in my list

Thanks,

Prabhat

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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