devops_work_item_query_by_wiql
Query Azure DevOps work items using WIQL to retrieve matching items based on type, state, or other conditions.
Instructions
Execute a WIQL (Work Item Query Language) query and return the matching work items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of results to return. Omit to use the server default. | |
| query | Yes | The WIQL query string. Example: "SELECT [System.Id], [System.Title], [System.State] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' AND [System.State] <> 'Closed' ORDER BY [System.CreatedDate] DESC" | |
| time_precision | No | If True, use time precision for date comparisons in the query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |