How to list completed issues for a Sprint via API REST

Hi, 

I'd like to know how can I get the list of Completed / Not Completed issues for a specific Sprint via API.

I'm looking to have the same list of issues and statuses that you can find on the Sprint Report but from the API.

I know that I can get all the issues for a sprint via /rest/agile/1.0/board/{id}/sprint/{id}/issue ....

 

Regards

3 answers

1 accepted

This widget could not be displayed.

Hi,

You can use /api/2/search to perform a search using JQL

does somebody knows the JQL for this? I have been researching this for little bit, but haven't found anything usefull that provide me as list of isses that were completed in the sprint a, and issues that weren't completed in the sprint a, but might have been completed later.

This widget could not be displayed.

What I'm looking for is the following case:

For Instance:

  • Issue X prioritized on Sprint 1 but not completed there.
  • Moved to Sprint 2 and completed
  • Released several days after the Sprint 2 ended.

If I take a look at the Sprint Report for Sprint 1 I find that the Issue X is in the Not Completed section with status "To Do"

If I take a look at the Sprint Report for Sprint 2 I find that the Issue X is in the Completed section with Status "Done"

If I search via JQL the Issue X has the status "Released"

My question if how I see the same info that the Sprint Report Show but via API.

Regards!

 

This widget could not be displayed.

Somebody knows how to get via API or JQL the status of an issue when an old Sprint ended?

 

Regards

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

130 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you