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

Get sprint by id

Returns a single sprint, for a given sprint Id. The sprint will only be returned if the user can view the board that the sprint was created on, or view at least one of the issues in the sprint.

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

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

Path parameters
sprintIdinteger<int64>required

The Id of the requested sprint.

Responses
200

Returns the requested sprint.

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 the sprint does not exist.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/agile/1.0/sprint/0' \
  -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?