Jira "Get All Sprints by Board" endpoint does not return the field "total"

Andrew Tarr May 10, 2021

Hitting the endpoint to get all sprints for a board does not return with the "total" field as described here: https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-agile-1-0-board-boardid-sprint-get.

My response is something like:

{
  "maxResults":50,
  "startAt":0,
  "isLast":false,
  "values":[....]
}

Is this endpoint busted?

2 answers

0 votes
Mathieu RIO March 17, 2023

That's really ugly, the bug in documentation is still there after 2 years :( 

0 votes
Bill Sheboy
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.
May 10, 2021

Hi @Andrew Tarr 

I tried that method and got all the sprints back in "values" and the "total" field was not present.  Same result when I used a board with below and above the maxResults of sprints.

It appears the documentation is out of date or there is an issue, so if you need that field (rather than counting the "values"), consider asking your site admin to submit a support ticket.

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events