Discover Work Item Status Values
workitem_discover_status_valuesDiscover actual status keys and labels for a work item type by sampling data, preventing incorrect guessed status constants in workitem_query filters.
Instructions
Sample actual status values for a work item type and return both backend keys and display labels. Use this before filtering workitem_query by status so the model does not guess generic constants like OPEN or IN_PROGRESS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | Project key or simple name used both for the CLI project scope and the MQL FROM clause. | |
| sample_limit | No | How many rows to sample when discovering unique status values. | |
| work_item_type | Yes | Work item type key such as story, issue, or sub_task. |