# Ticket

> Transition Azure DevOps work item state. Trigger when user says "ticket <id> active", "set ticket cr", "/dev-azdo:ticket", or wants to move a work item between states (active, code-review, ready, closed).

- Skill: `lttr/ticket` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lttr/ticket`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lttr/ticket/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: lttr (https://skillmd.com/u/lttr)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/lttr/ticket

---


# Ticket

Update Azure DevOps work item state via `az boards work-item update`.

## Input Format

`$ARGUMENTS` = `<id> <state>`.

| Synonym                          | Azure DevOps state |
| -------------------------------- | ------------------ |
| `active`, `start`, `in-progress` | `Active`           |
| `cr`, `code-review`, `review`    | `Code Review`      |
| `ready`, `done-dev`              | `Ready`            |
| `closed`, `done`, `complete`     | `Closed`           |

Unknown state → ask user. Missing id → ask. Missing state → ask.

## Workflow

### 1. Parse + map state

Extract id (numeric) and state synonym. Map to canonical Azure DevOps state.

### 2. Update

```bash
az boards work-item update --id <id> --state "<State>"
```

### 3. Confirm

Print: work item id, title, new state.

## Notes

- States above match the most common Azure DevOps process templates. If your project uses different state names (e.g. `Doing`, `In Review`), pass the exact label.
- Branch creation lives in the `feature-branch` skill — keeps state changes orthogonal.

