Updates an iteration. Status transitions are limited to planned to active and active to closed. Use the DELETE endpoint to remove an iteration. At least one editable field must be provided.
| Name | Type | Reference |
|---|---|---|
| space_uidrequired | string | Space UID |
| idrequired | string | Iteration ID |
| Name | Value |
|---|---|
| Authorization | Bearer <token> |
| Content-Type | application/json |
| Name | Type | Constraints | Description |
|---|---|---|---|
title | string | minLength: 1 maxLength: 256 | Iteration title |
goal | string | null | Iteration goal | |
status | enum | [planned,active,closed] | Iteration status. Supported transitions are planned to active and active to closed. Use DELETE to remove an iteration |
start_date | string | null | Start date. ISO 8601 format | |
finish_date | string | null | Finish date. ISO 8601 format | |
actual_finish_date | string | null | Actual finish date, applied when closing an iteration (status 'closed'). Must be later than start_date. Defaults to the current time if omitted. ISO 8601 format | |
new_iteration_id | string | null | ID of the iteration to move unfinished cards to when closing with status 'closed'. Must belong to the same space and have the planned or active status |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| id | string | Iteration ID (UUID) |
| space_uid | string | UID of the space the iteration belongs to |
| title | string | Iteration title |
| goal | string | null | Iteration goal |
| status | string | Iteration status: planned, active, closed or removed |
| creator_uid | string | UID of the user who created the iteration |
| updater_uid | string | UID of the user who last updated the iteration |
| start_date | string | null | Start date, ISO 8601 format |
| finish_date | string | null | Planned finish date, ISO 8601 format |
| actual_finish_date | string | null | Actual finish date, ISO 8601 format |
| sort_order | number | Sort order of the iteration within the space |
| data | object | null | Cached iteration statistics. Null for planned iterations; active iterations contain committed, and closed iterations also contain velocity, doneCount and totalCount |
| moved_cards | array of objects | Present when closing with new_iteration_id and unfinished cards were moved |
| created | string | Creation timestamp |
| updated | string | Last update timestamp |
| Description | Response type | Example |
|---|---|---|
| Validation error or lifecycle rule violation: invalid status transition (code 1), missing activation dates (code 2), invalid date range (code 6), or invalid actual finish date (code 7) | Object |
| Name | Type | Description |
|---|---|---|
| code | number | Numeric error code, present for business-rule violations |
| message | string | Error message |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Feature is not supported by tariff | Object |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
| Description | Response type | Example |
|---|---|---|
| Forbidden | Response body does not exist |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Iteration not found | Response body does not exist |
A schema has not been defined for this response code.
Path Parameters
1 curl --request PATCH \
2 --url 'https://example.kaiten.ru/api/latest/spaces/{space_uid}/iterations/{id}' \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json'
5 Response
ClickTry It!to start a request and see the response here!