Forums

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

API call for sprint report - how to get the report from Day 1 of the sprint

Sylva Buršíková
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 4, 2021

Hi all,

I am using this API call to get the sprint report and it works fine: https://jira.com/rest/greenhopper/latest/rapid/charts/sprintreport?rapidViewId=195&sprintId=4147

For me it's important to be able to compare the sprint report from the last day (which captures the ticket statuses on the last day of the sprint) against a report from the first day of the sprint. That helps me to see how exactly each ticket progressed in the sprint (e.g. from TO DO to IN QA, or from IN QA to DONE). 

Does anybody know if there is an API call format which gives me the first day of the sprint? 

Thanks!

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 4, 2021

Hi, 

Welcome to the community

I think that you're using a deprecated Jira API see below.

https://community.atlassian.com/t5/Jira-questions/API-call-for-sprint-report-how-to-get-the-report-from-Day-1-of/qaq-p/1768280

You can use these API :

https://docs.atlassian.com/jira-software/REST/7.0.4/

https://docs.atlassian.com/software/jira/docs/api/REST/8.18.1/

Latest just mean that you're using the last version of the API. So instead of write

rest/api/1/

you can write

rest/api/latest

So you will always call the most update version.

Sylva Buršíková
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2021

Thanks Mohamed, indeed you are right, the "latest" refers to the API version. But in my call I already use the word "latest", so that's not a problem. 

I am still looking for a way to display a report from the beginning of the sprint (in other words - what were the statuses of tickets on the first day). Currently, the only way to do that is to run the report (or the api call) on the first day of the sprint, and save the result. 

Jean Sandberg November 21, 2023

I am trying to use the API to download the sprint report when the sprint ends. It's important that it captures (a) the statuses of the issues at the time the sprint ended and (b) the issues that were removed from the sprint.

I don't see how to do this using the current API; it looks like the one you were using was deprecated?

Suggest an answer

Log in or Sign up to answer