Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get Burndown chart with JIRA API in 2020 Edited

Ok so I'm trying to reproduce the Burndown Chart from JIRA ordered by "Remaining Time Estimate" thank's to the JIRA API.

I found 2 solutions :

So I don't know what I have to do. Do I have to use the "unofficial" solution or can I get the Burndown Chart from the "official" APIs ?

Thank's !

@David Leal @Nic Brough _Adaptavist_ @Timothy @Raimundas Juska @Matt Wallace 

2 answers

1 accepted

0 votes
Answer accepted

Update on what I used :

http://myjiraserver/rest/api/2/search?jql=sprint%20in%20openSprints()&maxResults=5000&expand=changelog&fields=changelog,customfield_10105

You can find all the information to plot your Burndown Chart but it will be a bit more complicated than Greenhopper.

@William Fargues 

can you support pls more details?

Where you able to use greenhoprer?

I am facing exactly the same issue i need to get data from burndown chart
and found that it is not supported in rest api but only using greenhopper which is deprecated and not easy

In fact, JIRA is using Greenhopper so there's nothing wrong if you use it. 
Also, if you find Greenhopper solution hard, the JIRA API one is even harder.

In my answer, I'm not using Greenhopper API but the official JIRA API.
You can find more information if you search for JIRA API JQL (this is what I used).

Basically here, in my request, I'm saying :
Get all the open sprints with a maximum of 5000 results and add the changelog field.
This is in the changelog field that you will be able to retrieve more or less the same data than Greenhopeer API.

Like s_n likes this

Well, neither the urls that you can use to get the issues that belong(ed) to the sprint is returning the issues that were part of the sprint but were removed from the sprint while the sprint was active, you won't find those issues but you can see them in the burndown chart.

This whole thing is a pure nightmare.

 

- <instance>/rest/agile/1.0/sprint/437/issue?startAt=0&maxResults=5000&expand=changelog&sprintId=437&jql=type!=%27Sub-task%27
- <instance>/rest/api/2/search?jql=sprint%20in%20(437)&maxResults=5000&expand=changelog

how can I get the issues that were also part of the sprint but removed from sprint at some point. do I seriously have to traverse all the issues for the whole board and do it manually ?!!

Hi,

It would be really nice to get some kind of update on this topic.

The Greenhopper API is not BI friendly. We would like to build our own Power BI charts seeing trends across several boards and sprints.

Similar to this post there is a lot of complexity in transforming JSON event data into 'complete snapshots' of issue status at a given point in time. Currently we would require to build up such view 'outside of JIRA' API using some kind of a script or a really complex DAX logic.

Thanks,
Mau

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you