azdo_search_work_items
Search AzDO work items with WIQL (Work Item Query Language — AzDO's equivalent of Jira's JQL). Returns up to 50 matching work items with the same projection as azdo_get_work_item. WIQL examples: SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active' AND [System.AssignedTo] = @Me, SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' AND [System.CreatedDate] >= @Today - 7. The SELECT clause is required but only the IDs are honored — the tool batch-fetches full fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wiql | Yes | WIQL query string. See https://learn.microsoft.com/azure/devops/boards/queries/wiql-syntax | |
| maxResults | No | Max work items to return (default 20, hard cap 50). Narrow WIQL for wider sweeps. |