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.
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": {
"project_key": "<project_key>",
"work_item_type": "<work_item_type>"
},
"name": "workitem_discover_status_values"
}
}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. |