Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get all sprints from a board

Returns all sprints from a board, for a given board Id. This only includes sprints that the user has permission to view.

GET/agile/1.0/board/{boardId}/sprint
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
boardIdinteger<int64>required

The Id of the board that contains the requested sprints.

Query parameters
maxResultsinteger<int32>

The maximum number of sprints to return per page. Default: 50.

stateStringList

Filters results to sprints in specified states. Valid values: future, active, closed. You can define multiple states separated by commas, e.g. state=active,closed

startAtinteger<int64>

The starting index of the returned sprints. Base index: 0.

Responses
200

Returns the requested sprints, at the specified page of the results. Sprints will be ordered first by state (i.e. closed, active, future) then by their position in the backlog.

activatedDatestring
autoStartStopboolean
completeDatestring
endDatestring
goalstring
idinteger<int64>
incompleteIssuesDestinationIdinteger<int64>
namestring
originBoardIdinteger<int64>
selfstring<uri>
startDatestring
statestring
syncedboolean
400

Returned if the request is invalid.

401

Returned if the user is not logged in.

403

Returned if the user does not a have valid license.

404

Returned if board does not exist or the user does not have permission to view it.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/agile/1.0/board/0/sprint' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "activatedDate": "2015-04-11T15:22:00.000+10:00",
  "autoStartStop": true,
  "completeDate": "2015-04-20T11:04:00.000+10:00",
  "endDate": "2015-04-20T01:22:00.000+10:00",
  "goal": "Goal for the sprint",
  "id": 10001,
  "incompleteIssuesDestinationId": 10001,
  "name": "Sprint 1",
  "originBoardId": 5,
  "self": "http://www.example.com/jira/rest/agile/1.0/sprint/10001",
  "startDate": "2015-04-11T15:22:00.000+10:00",
  "state": "active",
  "synced": true
}

Was this page helpful?