tfs_query_work_items
Run a WIQL query to retrieve work items with ID and key fields from TFS. Specify a SELECT statement to filter by type, state, or project.
Instructions
Run a WIQL query and return matching work items (id + key fields). Provide a full WIQL SELECT statement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Max number of full work items to expand (default 50) | |
| wiql | Yes | WIQL query, e.g. "SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType]='Bug' AND [System.State]='Active'" | |
| project | No | Project name (defaults to TFS_PROJECT) |