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
Rajesh-Kolli
New Member

Get Azure DevOps Sprint Capacity data through Rest API into PBRS for last six sprints

Hi Everyone,

 

I tried the web api method to get the sprint capacity but only for an iteration with iteration id and I'm not able to query it by date or for last six sprints.

 

Any help in this is highly appreciated .

 

BR,

Raj

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @Rajesh-Kolli 

Here are some offical blogs for you, I hope they could help you.

For reference:

Connect with data by using OData queries - Azure DevOps | Microsoft Docs

Connect to Power BI Data Connector - Azure DevOps | Microsoft Docs

If you need use Azure DevOps API, please refer to the code below.

let
    Source = Json.Document(
        Web.Contents(
            "https://dev.azure.com/{organization}/{project}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}?api-version=6.0"
        )
    ),
    #"Converted to Table" = Table.FromRecords({Source})
in
    #"Converted to Table"

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
utkarshsn
New Member

Hello @Rajesh-Kolli , did you get the solution for this, If yes, can you please share it ?

Your help in this is highly appreciated .

 

BR,

Utkarsh

v-rzhou-msft
Community Support
Community Support

Hi @Rajesh-Kolli 

Here are some offical blogs for you, I hope they could help you.

For reference:

Connect with data by using OData queries - Azure DevOps | Microsoft Docs

Connect to Power BI Data Connector - Azure DevOps | Microsoft Docs

If you need use Azure DevOps API, please refer to the code below.

let
    Source = Json.Document(
        Web.Contents(
            "https://dev.azure.com/{organization}/{project}/_apis/work/teamsettings/iterations/{iterationId}/capacities/{teamMemberId}?api-version=6.0"
        )
    ),
    #"Converted to Table" = Table.FromRecords({Source})
in
    #"Converted to Table"

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.