Create or update custom field
qase_custom_field_upsertCreate a Qase custom field or update an existing one by ID, setting title, type, entity, options, and project scope while keeping create-only attributes fixed.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>"
},
"name": "qase_custom_field_upsert"
}
}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 |