create_custom_field_def
Create a custom field definition (PRO+ feature). fieldType: one of TEXT, TEXTAREA, NUMBER, DATE, DROPDOWN, MULTI_SELECT, CHECKBOX, URL, EMAIL, PHONE, CURRENCY, RATING. entityType: PROJECT, TASK, or PROPOSAL. DROPDOWN/MULTI_SELECT require at least one option. Omit projectId for an org-wide field (admin/manager only). Set projectId to scope the field to one project (project owner/manager allowed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 1-100 chars. | |
| options | No | Required for DROPDOWN/MULTI_SELECT. | |
| required | No | Whether this field is mandatory. | |
| fieldType | Yes | ||
| projectId | No | Scope to one project. Null or omit for org-wide. | |
| entityType | Yes | ||
| description | No | Optional field description. | |
| defaultValue | No | Optional default value. |