list_work_item_enum_options
Retrieve valid enum options for a work item field to prevent invalid values when creating or updating items in Polarion.
Instructions
List valid enum options for a work item field of the given type.
Call before create_work_items / update_work_item to resolve a
type / status / severity / priority / custom-enum value —
Polarion does NOT validate on write (unknown ids persist as ghosts).
Work-item fields only. Returns the FULL set; work_item_type='~' is
type-agnostic, and an unknown type silently falls back to ~, so verify
the type id first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Polarion project ID. | |
| field_id | Yes | Field id (e.g. 'status', 'type', 'severity', 'priority', or a custom field id). | |
| work_item_type | Yes | Work item type id (e.g. 'task', 'requirement'). Pass '~' for type-agnostic options. | |
| page_size | No | ||
| page_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total_count | Yes | ||
| page | Yes | ||
| page_size | Yes | ||
| has_more | No |