/ado-work-items:backlogs:itemsfrom ado-work-items
Queries Azure DevOps backlog work items using WIQL, filtering by work item type, area path, and iteration path. Returns ID, title, and backlog priority.
Ships in ado-work-items. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Get work items in a specific backlog level.
Getting backlog items via az devops invoke --resource workitems, or extra backlogId on --resource backlogs, is not on the verified path (unverified resources and extra route parameters can KeyError). Use WIQL (az boards query) to get work items. Discover backlog levels with /ado:backlogs:list or the verified Get Backlogs invoke below.
az devops invoke \
--area work \
--resource backlogs \
--route-parameters project={PROJECT} team={TEAM} \
--api-version 7.0 \
-o json
Returns backlog levels with id, name, rank, and workItemTypes. Use those types in WIQL. Do not pass backlogId as an invoke route parameter.
Common work item types by backlog level:
EpicFeatureUser Story (or Product Backlog Item; may include Bug)Filter by work item type and team area (and iteration when needed):
az boards query --wiql "SELECT [System.Id], [System.Title], [Microsoft.VSTS.Common.BacklogPriority] FROM WorkItems WHERE [System.WorkItemType] = 'User Story' AND [System.AreaPath] UNDER '{TEAM_AREA}' ORDER BY [Microsoft.VSTS.Common.BacklogPriority]" -o json
az boards query --wiql "SELECT [System.Id], [System.Title], [System.State], [Microsoft.VSTS.Common.BacklogPriority] FROM WorkItems WHERE [System.WorkItemType] IN ('User Story', 'Bug') AND [System.AreaPath] UNDER '{TEAM_AREA}' AND [System.IterationPath] UNDER '{ITERATION}' ORDER BY [Microsoft.VSTS.Common.BacklogPriority]" -o json
To get full details, use the IDs with az boards work-item show.
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:listList BacklogsList backlogs for a team/boards:card-rulesBoard Card RulesView card styling rules on boards/boards:columnsBoard ColumnsView and manage board columnsnpx claudepluginhub joshuaramirez/ms-ado-az-claude-code-plugin --plugin ado-work-items