Forums

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

Jira Cloud Platform or Jira Software Cloud ?

William Fargues February 25, 2020

Hello, I want to use the JIRA API to access the burndown chart data but I can't figure out what is the good documentation to use : 
Is it this one : https://developer.atlassian.com/cloud/jira/platform/rest/v3/ ?
Or this one : https://developer.atlassian.com/cloud/jira/software/rest/ ?

Also can I have access to the burndown chart data with one of these two ?

Thank's !

1 answer

1 accepted

1 vote
Answer accepted
DPKJ
Community Champion
February 25, 2020

@William Fargues  First of all welcome to the community!

Now coming to your question,

The first is Jira Platform/Core API's.

  • You can use it as endpoint in most cases.
  • You will get API's to search issues, projects etc in this.

The second one is Jira Sotware (extension to Jira Core) specific APIs'

  • If you want to fetch info about Board, Sprint, Epic etc you need to use it

So, if you want to build a burn-down chart based on time tracking data based on any search use Jira Core's Issue search API - https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-search-get

And if you want to fetch issues based on certain sprint or epic or board, using Software API's is a way to go.

 

You will receive time tracking data for individual issue like this,

Screenshot 2020-02-25 at 2.57.03 PM.png

William Fargues February 25, 2020

Than you for your help ! Based on your answer I guess that there is no way to get the burndown chart for a specific sprint directly from the API.

So my question is : How can I have all the issues for a specific sprint ?

Thank's !
 

DPKJ
Community Champion
February 25, 2020

You can use this API - https://developer.atlassian.com/cloud/jira/software/rest/?#api-agile-1-0-sprint-sprintId-issue-get

API is paginated so make sure you take care of that.

Like William Fargues likes this
William Fargues February 25, 2020

When I try this API call : 
http://constellation.soprasteria.com/jira1/rest/greenhopper/1.0/rapid/charts/scopechangeburndownchart?rapidViewId=2269&sprintId=2966
I have exactly what I want -> All the information to do a Burndown chart ordered with "Remaining Time Estimate".

The problem is that I've read Greenhopper will be completely deprecated very soon.

Using the "official" API call : 
http://constellation.soprasteria.com/jira1/rest/agile/1.0/sprint/2966/issue
This is not the same information as the API call with Greenhopper ... so I can't figure out how to do this type of Burndown chart with the "official" API.

Any idea ? Is that even possible ? @DPKJ 
Thank's !

DPKJ
Community Champion
February 26, 2020

@William Fargues  I need to check on this. I suggest we open a separate question for this.

Can you also confirm, you are using Jira Cloud or Jira Server? Because you added tag  "Jira Cloud" to this question, but now we are discussing things related to Jira Server.

William Fargues February 26, 2020

@DPKJ  I opened a separate question : 
https://community.atlassian.com/t5/Jira-questions/Get-Burndown-chart-with-JIRA-API-in-2020/qaq-p/1310856#M410827

Yes I'm using Jira Server, I'll edit the tags if I can !

DPKJ
Community Champion
February 26, 2020

Suggest an answer

Log in or Sign up to answer