Query work items (WIQL)
query_work_itemsRun WIQL queries against Azure DevOps projects and return matching work-item IDs.
Instructions
Run a Work Item Query Language (WIQL) query against a project and return the matching work-item ids (fetch fields with get_work_item). Example: SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wiql | Yes | A WIQL query string, e.g. SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' | |
| project | Yes | Project name or id (must be within AZDO_PROJECT_ALLOWLIST when that is set) |