Forums

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

What's the difference in these api calls? Get all issues in a sprint vs get all issues for a sprint

jodywhite April 4, 2025

There's 2 api calls 

Get all issues in a sprint 

that is part of the board api call.

get all issues for a sprint 

That is part of the sprint api call.

What is the difference between these?

1 answer

1 accepted

6 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2025

Hi @jodywhite 

In the Jira software API their are indeed 2 calls

1: This gets all sprint items on the board, so issues in the sprint but not on the board will not be shown in the call result.

2: This gets all issues in the sprint.

 

jodywhite April 4, 2025

This makes sense, but how can an issue be "in a sprint but not on the board"?

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2025

Hi @jodywhite 

That depends on your workflow and what statuses are visible on the board.

You could have issues in the sprint in a certain workflow status, that are not relevant for the dev, but maybe only for QA's.

If QA's have their own sprint board and will only see issues there based on certain workflows statuses from the workflow.

And theses statuses are not visible on the sprint board for the Dev's.

Then using the API to get all sprint items from the board can get different results.

Could be the same as based on the filter of a board that excludes certain items from a sprint.

jodywhite April 4, 2025

That is very helpful! Thank you.

Suggest an answer

Log in or Sign up to answer