Update initiative
PATCH /api/v3/initiatives/{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 initiative
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: | ||
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: | ||
Position of the record relative to its siblings. | integer | position |
Accepted value shape and constraintsType: | ||
How progress is calculated for the initiative. | string | progress_source |
Accepted value shape and constraintsType: Allowed values: "manual", "from_features", "from_features_with_dependents", "from_releases", "from_releases_with_dependents", "from_children", "from_children_with_dependents", "from_features_completed", "from_features_completed_with_dependents", "from_epics", "from_epics_with_dependents" Allowed values: | ||
How start and end dates are calculated for the initiative. | string | duration_source |
Accepted value shape and constraintsType: Allowed values: "manual", "from_children", "from_releases", "from_features_epics" Allowed values: | ||
Progress completed for the record. | number | progress |
Accepted value shape and constraintsType: | ||
Score assigned to the record. | number | score |
Accepted value shape and constraintsType: | ||
Color assigned to the record as a hex value. | string | color |
Accepted value shape and constraintsType: | ||
Initial work estimate for the record. | number | initial_estimate |
Accepted value shape and constraintsType: | ||
Detailed work estimate for the record. | number | detailed_estimate |
Accepted value shape and constraintsType: | ||
Remaining work estimate for the record. | number | remaining_estimate |
Accepted value shape and constraintsType: | ||
Work completed for the record. | number | work_done |
Accepted value shape and constraintsType: | ||
Effort value of the initiative, from 0 to 100. | integer | effort |
Accepted value shape and constraintsType: | ||
Value of the initiative, from 0 to 100. | integer | value |
Accepted value shape and constraintsType: | ||
ID of the status assigned to the record. | string | status |
Accepted value shape and constraintsType: Submit | ||
ID of the user assigned to the record. | string | assigned_to_user |
Accepted value shape and constraintsType: Submit | ||
ID of the time frame assigned to the record. | string | time_frame |
Accepted value shape and constraintsType: Submit | ||
HTML description of the record. | string | description |
Accepted value shape and constraintsType: | ||
ID of the time code assigned to the record. only available when timesheets are enabled for the account. Availability depends on account settings. | string | time_code |
Accepted value shape and constraintsType: Submit | ||
Individual metric values for the initiative's scorecards. Items are merged into the existing collection: each item adds a record, or removes it with `_destroy: true`. Records not listed are left unchanged, and an empty array changes nothing. | array | score_facts |
Accepted value shape and constraintsType: Array item shapeType: scoring_system_metric_idType: valueType: _destroyType: | ||
Custom field values to set. Property names are custom field definition keys, and each value is one of the supported input formats below, depending on the field type. Attachment fields are read-only and can't be set. | object | custom_fields |
Accepted value shape and constraintsType: Custom property valuesType: Supported shape 1Text field Type: Supported shape 2Note field Type: Supported shape 3URL field Type: Supported shape 4Number field Type: Supported shape 5Date field Type: Supported shape 6Checkbox field Type: Supported shape 7Single select field Type: Minimum properties: 1 idType: nameType: Supported shape 8Conditional choice field Type: Required properties: id. idType: Supported shape 9Multi-select field Type: Array item shapeType: idType: nameType: _destroyType: Supported shape 10Records field Type: Array item shapeType: idType: _destroyType: Supported shape 11Single custom table link Type: Required properties: id. idType: Supported shape 12Custom table links Type: Array item shapeType: idType: _destroyType: Supported shape 13Worksheet field Type: Array item shapeType: Required properties: id, value. idType: valueType: Supported shape 14Scorecard field Type: Minimum properties: 1 scoreType: score_factsType: Array item shapeType: scoring_system_metric_idType: valueType: _destroyType: Supported shape 15Clear value Type: Use your account’s custom field API keys and values matching each field’s type. | ||
Users watching the record for update notifications. Items are merged into the existing collection: each item adds a record, or removes it with `_destroy: true`. Records not listed are left unchanged, and an empty array changes nothing. | array | watchers |
Accepted value shape and constraintsType: Array item shapeType: idType: _destroyType: | ||
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 |
Start date of the record. | date | No |
End date of the record. | date | No |
Position of the record relative to its siblings. | integer | No |
How progress is calculated for the initiative. | string | No |
Allowed values: | ||
How start and end dates are calculated for the initiative. | string | No |
Allowed values: | ||
Progress completed for the record. | number | No |
Score assigned to the record. | number | No |
Color assigned to the record as a hex value. | string | No |
Initial work estimate for the record. | number | No |
Detailed work estimate for the record. | number | No |
Remaining work estimate for the record. | number | No |
Work completed for the record. | number | No |
Effort value of the initiative, from 0 to 100. | integer | No |
Value of the initiative, from 0 to 100. | integer | No |
Status assigned to the record. | Status | No |
Expand this association to browse its response fields. | ||
User assigned to the record. | AssignedToUser | No |
Expand this association to browse its response fields. | ||
Time frame assigned to the record. | TimeFrame | No |
Expand this association to browse its response fields. | ||
HTML description of the record. | Note | No |
Expand this association to browse its response fields. | ||
Time code assigned to the record. Only available when timesheets are enabled for the account. Availability depends on account settings. | TimeCode | No |
Expand this association to browse its response fields. | ||
Parent initiative. | Initiative | No |
Expand this association to browse its response fields. | ||
Workspace that contains the record. | Project | No |
Expand this association to browse its response fields. | ||
Goals associated with the initiative. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=goals[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. | ||
Individual metric values for the initiative's scorecards. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=score_facts[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. | ||
Custom field values. Property names are custom field definition keys, and each value is one of the supported formats below, depending on the field type. Omitted unless requested with the fields parameter or submitted in the request. Fields with no stored value are omitted. | object | No |
Custom field keys depend on your account. Request | ||
Users watching the record for update notifications. Omitted by default. Request the field for inline records with default sub-fields, or choose sub-fields (e.g., ?fields=watchers[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.