---
ai:
  exclude: true
search:
  tags:
    - sprint
    - GET
seo:
  description: >-
    Returns a single sprint, for a given sprint… Reference for the GET
    /agile/1.0/sprint/{sprintId} endpoint in the Jira Software Data Center REST
    API Reference.
sidebar:
  label: Get sprint by id
  badge: GET
title: Get sprint by id
type: openapi-operation
---
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}`

**Responses**

- `200` — Returns the requested sprint.
- `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.

Response example, 200:

```json
{
  "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
}
```
