list_work_item_enum_options
Retrieve valid enum option identifiers for a work item field to ensure successful creation or update. Specify project, field, and work item type.
Instructions
List valid enum option ids for a work item field of a given type.
Call this before create_work_items / update_work_items — invalid enum ids are rejected on write. 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 |