/ado-work-items:items:searchfrom ado-work-items
Searches Azure DevOps work items using full-text queries and filters by project, type, state, or assignee via the Search API.
Ships in ado-work-items. Installing the plugin adds it to Claude Code.
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
Full-text search across work item fields using the Search API.
Note: This uses az devops invoke since CLI doesn't support search.
Create a JSON file with the search parameters:
{
"searchText": "{user's search query}",
"$top": 25,
"$skip": 0,
"filters": {
"System.TeamProject": ["{PROJECT}"]
}
}
Save to a temp file, e.g., search_request.json
az devops invoke \
--area search \
--resource workitemsearchresults \
--http-method POST \
--in-file search_request.json \
--api-version 7.0 \
-o json
Results are in results array with:
fields.system.id - Work item IDfields.system.title - Titlefields.system.state - Statefields.system.workitemtype - Typehits - Matching snippets with highlightsFilter by work item type:
{
"searchText": "login error",
"$top": 25,
"filters": {
"System.TeamProject": ["MyProject"],
"System.WorkItemType": ["Bug", "Task"]
}
}
Filter by state:
{
"searchText": "performance",
"$top": 25,
"filters": {
"System.TeamProject": ["MyProject"],
"System.State": ["Active", "New"]
}
}
Filter by assigned to:
{
"searchText": "api",
"$top": 25,
"filters": {
"System.TeamProject": ["MyProject"],
"System.AssignedTo": ["[email protected]"]
}
}
Delete the temp JSON file after search completes.
7-day visitors to each command page
21 commands in this plugin
/areas-iterations:assign-teamAssign Areas/Iterations to TeamAssign areas and iterations to a team/areas-iterations:list-areasArea PathsList and manage project area paths/areas-iterations:list-iterationsIteration PathsList and manage project iteration paths/backlogs:itemsBacklog Work ItemsGet work items from a backlog level using WIQL/backlogs:listList BacklogsList backlogs for a team/boards:card-rulesBoard Card RulesView card styling rules on boardsnpx claudepluginhub joshuaramirez/ms-ado-az-claude-code-plugin --plugin ado-work-itemsOther plugins' commands for the same job