Sprints
This resource lets you work with sprints of the specific agile board.
Resource | /api/agiles/{agileID}/sprints |
Returned entity | Sprint. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
|
Sprint attributes
Represents a sprint that is associated with an agile board. Each sprint can include issues from one or more projects.
This table describes attributes of the Sprint
entity.
To receive an attribute in the response from server, specify it explicitly in the request parameter
fields
.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
agile | Agile | The agile board that the sprint belongs to. |
name | String | Name of the sprint. |
goal | String | Goal of the sprint. |
start | Long | The start date of the sprint as a timestamp. |
finish | Long | The end date of the sprint as a timestamp. |
archived | Boolean | Indicates whether the sprint is archived. |
isDefault | Boolean | If true, then new issues that match a column on this board are automatically added to this sprint. |
issues | Array of Issues | Issues that are present on this sprint. |
unresolvedIssuesCount | Int | Number of unresolved issues on this sprint. |
previousSprint | Sprint | If you provide this attribute when you create a new sprint, then all unresolved issues from this sprint will be moved to the newly created sprint. |
Read a List of Sprints
Get the list of all sprints of the agile board.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of Sprint attributes that should be returned in the response. If no field is specified,only the |
$skip | Int | Optional. Lets you set a number of returned entities to skip before returning the first one. |
$top | Int | Optional. Lets you specify the maximum number of entries that are returned in the response. |
Sample
Sample request URI
Sample response body
Add a New Sprint
Create a new sprint for the specified agile board.
Mandatory attributes: name
.
Required permissions
THe user must have permissions to update the board.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of Sprint attributes that should be returned in the response. If no field is specified,only the |