Create or update custom field
qase_custom_field_upsertCreate or update a Qase custom field, setting entity, type, visibility, and project scope; use an ID to update and omit it to create.
Instructions
Create or update a custom field. On create, entity (case, run, defect) and type are required and fixed forever — the update endpoint cannot change them. Fields are workspace-wide; scope with projects_codes or is_enabled_for_all_projects. Read existing fields with qase_project_context or qase_get. Cost: one call to create, two to update, 0.5-0.9s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Custom field ID — if provided, updates; if omitted, creates | |
| type | No | Field type. Required when creating; cannot be changed later | |
| title | Yes | Field title | |
| value | No | Option titles — required for selectbox, radio and multiselect | |
| entity | No | What the field is attached to. Required when creating; cannot be changed later | |
| is_visible | No | Whether the field is shown on the entity | |
| is_required | No | Whether a value must be given on create | |
| placeholder | No | Hint shown in the empty field | |
| default_value | No | Value a new entity gets when none is entered | |
| is_filterable | No | Whether the field can be used as a filter | |
| projects_codes | No | Projects the field applies to. Ignored when is_enabled_for_all_projects is true | |
| is_enabled_for_all_projects | No | Apply to every project in the workspace, instead of only those in projects_codes |