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.
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.
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.
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.
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With