Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Want to fetch the burndown chart using API.

Dharmraj Chauhan April 11, 2023
Initially, I tried to retrieve the worklog history of a user by fetching the progress of individual issues. However, this approach did not give me the complete information I needed. Therefore, I am now looking for an API endpoint that would allow me to retrieve all the data I need with a single call. Specifically, I am interested in fetching the sprint burndown chart data that shows how many hours each user burned on a given day. Is anyone know of any API endpoint that would allow me to retrieve this data?

1 answer

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2023

You won't find this in the API in any single place, you are going to have to retrieve a lot of data and calculate what you are looking for.

The reasons for this are

  • That's not how burndown works - you are likely to find the team doing stuff like burnin down nothing for the first few days and then suddenly burns down 6 days work on day 4.
  • Burndown is for a team, not individuals (and it may be illegal to monitor individuals like this in some places, so Jira simply doesn't implement anything that would let you do it)
  • Burndown is calculated from the issues, the estimate on them, the date they get "done" and the sprint data
Dharmraj Chauhan April 14, 2023

Is there any other ways, to fetch data like this.
Because, basically what I want to present exact burndown chart in my custom dashboard.

I couldn't able to find out any API which will fetch the worklog history.

I am okay to write or create a complex data model.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2023

First hit on search engines is  https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-worklogs/ but I'd recommend look at the v3 API too.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events