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

Create a future sprint

Creates a future sprint. Sprint name and origin board id are required. Start and end date are optional. Notes: The sprint name is trimmed. Only Jira administrators can create synced sprints.

POST/agile/1.0/sprint
Authorization
AuthorizationBasic auth · headerrequired

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

Request body
requiredapplication/json

The sprint to create.

autoStartStopboolean
endDatestring
goalstring
incompleteIssuesDestinationIdinteger<int64>
namestring
originBoardIdinteger<int64>
startDatestring
syncedboolean
userProfileTimeZonestring
Responses
201

Returns the created 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 board does not exist or the user does not have permission to view it.

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/agile/1.0/sprint' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "autoStartStop": true,
  "endDate": "2015-04-20T01:22:00.000+10:00",
  "goal": "Goal for the sprint",
  "incompleteIssuesDestinationId": 10001,
  "name": "Sprint 1",
  "originBoardId": 5,
  "startDate": "2015-04-11T15:22:00.000+10:00",
  "synced": true,
  "userProfileTimeZone": "Australia/Sydney"
}'
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?