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. |
status_options | [object] | The available options for the custom type. |
status_options[] | object | A generic Asana Resource, containing a globally unique identifier. |
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",
"status_options": [
{
"gid": "12345",
"resource_type": "custom_type_status_option",
"name": "Solution pending",
"completion_state": "Incomplete",
"enabled": true,
"color": "blue"
}
]
}