How to use API to query ALL issues in ALL sprints for a certain board

 I am trying to create a report that shows the issues that were brought into every sprint tied a specific board.  The API structure right now only lets me search for 1 sprint to get its issues, but I would like to search for a board and get all of the sprints AND all of the issues within each sprint.

Right now I can bring in all sprints for board using this request:


And if I want to get all issues for a sprint, I have to search a specific sprint:



I would have to create a separate request for each sprintid but we have multiple teams each with dozens of sprints, so that option is not preferred.

1 answer

1 accepted

0 votes
Warren Levy Community Champion Sep 21, 2017

Hi Daniel

You need to use code to control these calls (I've used Excel's VBA in the past and now use C#, but any programming language will do). 

So your code would issue the call to get all the sprints, then loop round the results and issue a call for each sprint to get the list of issues.

The API was designed to be used in this way - if you aren't a programmer, I'm sure someone in your company can help you with this. Once the code is working, you can get your answers quickly and easily.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,129 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot