Custom types

CustomType

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
namestringThe name of the custom type.
asana_created_type_identifierstringRead-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
  • COMMAND_RELEASE
  • COMMAND_TEAMSPACE
  • COMMAND_TICKET
  • SERVICE_CONVERSATION
  • SERVICE_QUEUE
  • SERVICE_TICKET
status_options[][object]The available options for the custom type.
status_options[].gidstringGlobally unique identifier of the resource, as a string.
status_options[].resource_typestringThe base type of this resource.
status_options[].namestringThe name of the custom type status option.
status_options[].completion_statestringThe completion state the custom type status option corresponds to, all custom types must have one ‘Incomplete’ and ‘Complete’ status option.
status_options[].enabledbooleanWhether or not the custom type status option is a selectable value for the custom type.
status_options[].colorstringThe 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"
    }
  ]
}