Create Custom Field
asana_create_custom_fieldCreate a custom field in an Asana workspace for tasks and projects. Supports text, number, enum, multi-enum, date, and people types with configurable format, precision, and workspace-wide availability.
Instructions
Create a new custom field in a workspace. Supported types: text, number, enum, multi_enum, date, people. For enum/multi_enum fields, add options after creation using asana_create_enum_option. Returns the created custom field object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the custom field. | |
| type | Yes | Field type. One of: `text`, `number`, `enum`, `multi_enum`, `date`, `people`. Cannot be changed after creation. | |
| format | No | For `number` fields: display format. One of: `none`, `currency`, `percentage`, `custom`. | |
| precision | No | For `number` fields: decimal places to display (0-6). Defaults to 0. | |
| workspace | No | The GID of the workspace (numeric string, e.g. `'1234567890123'`). Can be omitted if ASANA_DEFAULT_WORKSPACE_GID is set. | |
| opt_fields | No | Comma-separated fields to include in the response. Useful values: `gid,name,type,description,enum_options`. | |
| description | No | Optional description of the custom field. | |
| custom_label | No | For `number` fields with `custom` format: the label text. | |
| currency_code | No | For `number` fields with `currency` format: ISO 4217 currency code (e.g. `'USD'`). | |
| is_global_to_workspace | No | Set to true to make this field available across all projects in the workspace. |