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.
status_options[object]The available options for the custom type.
status_options[]objectA generic Asana Resource, containing a globally unique identifier.
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",
  "status_options": [
    {
      "gid": "12345",
      "resource_type": "custom_type_status_option",
      "name": "Solution pending",
      "completion_state": "Incomplete",
      "enabled": true,
      "color": "blue"
    }
  ]
}
Asana Home
Asana helps you manage projects, focus on what's important, and organize work in one place for seamless collaboration.
© 2023 Asana, Inc.