CustomType
| Property | Type | Description |
|---|---|---|
gid | string | Globally unique identifier of the resource, as a string. |
resource_type | string | The base type of this resource. |
name | string | The name of the custom type. |
asana_created_type_identifier | string | Read-only. A stable identifier present when this custom type was created by Asana as part of an Asana product (for example, a Command ticket type or a Service queue type). null for custom types created by users, and for Asana-created types that do not have a public identifier yet. New values may be added over time as Asana products introduce new types; integrations should tolerate unrecognized values. Click to show all enum values
|
status_options[] | [object] | The available options for the custom type. |
status_options[].gid | string | Globally unique identifier of the resource, as a string. |
status_options[].resource_type | string | The base type of this resource. |
status_options[].name | string | The name of the custom type status option. |
status_options[].completion_state | string | The completion state the custom type status option corresponds to, all custom types must have one ‘Incomplete’ and ‘Complete’ status option. |
status_options[].enabled | boolean | Whether or not the custom type status option is a selectable value for the custom type. |
status_options[].color | string | The color associated with the custom type status option. Defaults to ‘none’. |
Example JSON for CustomType:
{
"gid": "12345",
"resource_type": "custom_type",
"name": "Bug ticket",
"asana_created_type_identifier": "COMMAND_TICKET",
"status_options": [
{
"gid": "12345",
"resource_type": "custom_type_status_option",
"name": "Solution pending",
"completion_state": "Incomplete",
"enabled": true,
"color": "blue"
}
]
}