--- name: azure-boards description: Work with Azure DevOps Product Backlog Items using az boards CLI user-invocable: false when_to_use: | Use this skill when: - Fetching a work item by ID (e.g., "get PBI 12345", "show me work item #6789") - Updating Azure DevOps fields like Description, Acceptance Criteria, or State - Querying work items with WIQL (e.g., "what's assigned to me", "sprint items") - Creating tasks under a Product Backlog Item or Bug - Parsing HTML-formatted fields from Azure DevOps responses - Working with iteration paths, area paths, or sprint planning - Using `az boards` CLI commands for any Azure DevOps operation --- # Azure Boards Skill Use the Azure CLI (`az boards`) to interact with Azure DevOps work items. ## Prerequisites Ensure Azure CLI is authenticated: ```bash az login az devops configure --defaults organization=https://dev.azure.com/{org} project={project} ``` ## Fetching Work Items ### Single Work Item ```bash az boards work-item show --id {id} --output yaml ``` ### Field Mapping | Azure DevOps Field | YAML Path | Notes | |--------------------|-----------|-------| | Title | `fields.System.Title` | Plain text | | Description | `fields.System.Description` | HTML-formatted, strip tags | | Acceptance Criteria | `fields.Microsoft.VSTS.Common.AcceptanceCriteria` | HTML-formatted | | State | `fields.System.State` | New, Active, Resolved, Closed | | Assigned To | `fields.System.AssignedTo` | User object | | Iteration Path | `fields.System.IterationPath` | Sprint path | | Priority | `fields.Microsoft.VSTS.Common.Priority` | 1-4 | ### HTML Parsing Notes - Description and Acceptance Criteria are HTML-formatted - Strip `
`, `

`, `