Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pulling Burndown Charts From Visual Studio Online API

I'm trying to pull burndown charts for sprints from VSO to display alongside other project data. I'd assume that there is no way to pull an actual image or URL to the burndown, although that would be ideal. If this is not possible, is there some way to pull values that I could use to re-create a chart? I've been digging through the API for a few days with no luck so far.

So basically, I need to pull SOMETHING from VSO that will allow me to display the burndown for the current sprint of a project, in some way.

like image 622
user3693406 Avatar asked Apr 03 '15 15:04

user3693406


People also ask

What is the difference between sprint burn up chart and burn down chart?

Burn-up vs Burn-down ChartA burn-down chart shows the amount of work remaining on a project (the remaining effort), whereas a burn-up chart shows how much work has been completed and the total scope of the project.

Is a burndown chart similar to milestone report?

Burndown charts show the number of issues over the course of a milestone. At a glance, you see the current state for the completion a given milestone. Without them, you would have to organize the data from the milestone and plot it yourself to have the same sense of progress.

Which development method uses a burn burndown chart?

A burndown chart is a tool used by Agile teams to gather information about both the work they have completed on a project and the work that is yet to be done within a given time period, or as Scrum teams call it, a Sprint.


2 Answers

This is a pretty late answer, but it is possible as of now to get the image of burndown chart directly from Azure DevOps using Chartimages - Get Iteration Chart Image API:

GET https://dev.azure.com/{organization}/{project}/{team}/_apis/work/iterations/{iterationId}/chartimages/{name}?width={width}&height={height}&showDetails={showDetails}&title={title}&api-version=5.1-preview.1

For burndown chart, {name} = Burndown.

Reference: https://docs.microsoft.com/en-us/rest/api/azure/devops/work/chartimages/get%20iteration%20chart%20image?view=azure-devops-rest-5.1

like image 138
Nik A. Avatar answered Oct 13 '22 16:10

Nik A.


The data for the burn down is calculated by using a standard query with an 'as of' Param.

The as of param is only available in the API and returns the results as it would have on that date. If you count the work within the scope that you want for each day you will have the data.

I would recommend caching the results.

like image 32
MrHinsh - Martin Hinshelwood Avatar answered Oct 13 '22 17:10

MrHinsh - Martin Hinshelwood