---
allowed-tools: Task, Bash, Read, Write, WebFetch, Glob, Grep
command: azure:task-status
description: "Show status overview of tasks for a story or sprint."

---

# Azure DevOps Task Status

Show status overview of tasks for a story or sprint.

**Usage**: `/azure:task-status [story-id] [--sprint=<name>]`

**Examples**:
- `/azure:task-status 34` - Tasks for Story #34
- `/azure:task-status --sprint="Sprint 2"` - All sprint tasks
- `/azure:task-status --my-tasks` - Your task status

## Required Documentation Access

**MANDATORY:** Before Azure DevOps integration and agile workflows, query Context7 for best practices:

**Documentation Queries:**
- `mcp://context7/azure-devops/boards` - boards best practices
- `mcp://context7/agile/user-stories` - user stories best practices
- `mcp://context7/project-management/work-items` - work items best practices
- `mcp://context7/agile/sprint-planning` - sprint planning best practices

**Why This is Required:**
- Ensures adherence to current industry standards and best practices
- Prevents outdated or incorrect implementation patterns
- Provides access to latest framework/tool documentation
- Reduces errors from stale knowledge or assumptions


## Instructions

### Display Format

```
📊 Task Status Overview - Story #34
═══════════════════════════════════════════════════════════════

Progress: ████████████░░░░░░░░ 60% (3/5 tasks)
Hours: ███████████░░░░░░░░░ 55% (15h/27h)

Task Breakdown:
✅ Completed: 3 tasks (15h)
🔄 In Progress: 1 task (4h remaining)
🆕 Not Started: 1 task (8h)
🚫 Blocked: 0 tasks

| Status | Task | Hours | Assigned | Health |
|--------|------|-------|----------|--------|
| ✅ | #101 Technical Design | 4h/4h | John | ✓ |
| ✅ | #102 Implementation | 12h/12h | John | ✓ |
| ✅ | #103 Unit tests | 4h/4h | Sarah | ✓ |
| 🔄 | #104 Integration tests | 2h/6h | Sarah | ⚠️ |
| 🆕 | #105 Documentation | 0h/3h | - | - |

⚠️ Attention Needed:
- Task #104 behind schedule
- Task #105 not assigned

Est. Completion: 2 days
Sprint Ends: 2 days
Risk: Medium
```