Create Enum Option
asana_create_enum_optionAdd a new option to an enum or multi_enum custom field. Returns the created option's GID for use in updating tasks.
Instructions
Add a new option to an enum or multi_enum custom field. New options are appended to the end of the list by default. Returns the created enum option with its GID. Use the GID to set this option on tasks via asana_update_task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the new enum option. | |
| color | No | Color for the option. One of: `none`, `red`, `orange`, `yellow-orange`, `yellow`, `yellow-green`, `green`, `blue-green`, `aqua`, `blue`, `indigo`, `purple`, `magenta`, `hot-pink`, `pink`, `cool-gray`. | |
| enabled | No | Whether the option is enabled (visible to users). Defaults to true. | |
| opt_fields | No | Comma-separated fields to include in the response. Useful values: `gid,name,color,enabled`. | |
| custom_field_gid | Yes | The GID of the enum or multi_enum custom field to add an option to (numeric string, e.g. `'1234567890123'`). |