list_work_item_enum_options
Retrieve valid enum option IDs for a work item field in a Polarion project to avoid validation errors when creating or updating work items.
Instructions
List valid enum option ids for a work item field of a given type.
Resolve enum ids here before create_work_items / update_work_items — enums are validated on write, invalid ids raise with this set. An unknown work_item_type silently falls back to ~, so verify the type id first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_id | Yes | e.g. 'status', 'type', 'severity', 'priority', or a custom field id. | |
| page_size | No | ||
| project_id | Yes | Polarion project ID. | |
| page_number | No | ||
| work_item_type | Yes | e.g. 'task', 'requirement'; '~' = type-agnostic. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| items | Yes | ||
| has_more | No | ||
| page_size | Yes | ||
| total_count | Yes |