Update iteration
PATCH /api/v3/iterations/{id}
Request conventions
API key or OAuth2 access token. See Authentication.
Use your account domain and token in copied requests. Request values and conditional fields must satisfy your account’s validation rules.
URL settings
The part before .aha.io. Leave blank to use the example domain.
ID or reference number of the iteration
Request fields
Send only the fields you want to change inside a JSON record object. This applies to both PUT and PATCH.
Only writable fields for this endpoint are listed. Required flags reflect the endpoint schema; record and workspace validation also applies.
| Field | Type | Response field |
|---|---|---|
Name of the record. | string | name |
Accepted value shape and constraintsType: | ||
Status of the iteration. | string | status |
Accepted value shape and constraintsType: | ||
Start date of the record. | date | start_date |
Accepted value shape and constraintsType: | ||
End date of the record. | date | end_date |
Accepted value shape and constraintsType: | ||
Duration of the iteration. | integer | duration |
Accepted value shape and constraintsType: | ||
Goal of the iteration. | string | goal |
Accepted value shape and constraintsType: | ||
Progress completed for the record. | number | progress |
Accepted value shape and constraintsType: | ||
HTML description of the record. | string | description |
Accepted value shape and constraintsType: | ||
Response fields
Choose which fields to include in the response. Expand a field for examples and associated fields. Collections can only be returned on the top-level resource, not inside an associated resource.
Default response fields are returned until you select specific fields.
| Field | Type | Returned by default |
|---|---|---|
Unique record ID. | integer | Yes |
URL to view the record in Aha! | string | Yes |
API URL for the record. | string | Yes |
Name of the record. | string | Yes |
Reference number of the record. | string | Yes |
Date and time when the record was created. | date-time | No |
Date and time when the record was last updated. | date-time | No |
Status of the iteration. | string | No |
Start date of the record. | date | No |
End date of the record. | date | No |
Duration of the iteration. | integer | No |
Goal of the iteration. | string | No |
Progress completed for the record. | number | No |
HTML description of the record. | Note | No |
Expand this association to browse its response fields. | ||
Workspace that contains the record. | Project | No |
Expand this association to browse its response fields. | ||
Features associated with the iteration. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=features[default]). Capped at 25 records. Only available on the top-level resource. | Collection | No |
Collection envelopeRecords use the associated fields below. Type: Required properties: records, has_more. urlType: has_moreType: next_urlType: Expand this association to browse its response fields. | ||
Requirements associated with the record. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=requirements[default]). Capped at 25 records. Only available on the top-level resource. | Collection | No |
Collection envelopeRecords use the associated fields below. Type: Required properties: records, has_more. urlType: has_moreType: next_urlType: Expand this association to browse its response fields. | ||
Search matches the start of a field path and includes matching associations’ subfields. Use a dotted path to search within a specific association.
Response field selection
Create and update responses also include fields submitted in the record body. Submitted association IDs return their associated response fields.
Return selected fields with a comma-separated fields parameter, or add a field to the defaults with fields=default,{field}. Expand an association above for its supported subfields and selection examples.
See field selection for details.
Response statuses
Error shape for 400, 401, 403, 404, 409
Type: object
error
Type: object
Required properties: status, code, message, request_id.
status
Type: integer
code
Type: string
message
Type: string
request_id
Type: string
Error shape for 422
Type: object
error
Type: object
Required properties: status, code, message, details, request_id.
status
Type: integer
Allowed values: 422
code
Type: string
Allowed values: "record.validation_failed", "record.cannot_delete"
message
Type: string
details
Type: array
Array item shape
Type: object
field
Type: string
message
Type: string
code
Type: string
request_id
Type: string
Response envelope and pagination
record: a single record. Fields are documented above.