2.2 KiB
2.2 KiB
description
| description |
|---|
| Organize tasks into epics using parent-child hierarchies. Use when planning large features that span multiple tasks. |
Epic Management
Organize related tasks into epics (parent tasks with subtasks) for better project structure and progress tracking.
Understanding Epics in Backlog.md
Epics are implemented as parent tasks with child subtasks:
- A parent task acts as the epic container
- Child tasks are created with
-p <parent-id> - Progress is tracked by subtask completion
- Dependencies can span within and across epics
Instructions
Creating a New Epic
-
Create the parent task (the epic itself):
backlog task create "User Authentication System" \ --desc "Complete authentication implementation including OAuth, session management, and security" \ --labels epic,auth -
Break down into subtasks:
backlog task create -p <epic-id> "Design auth database schema" backlog task create -p <epic-id> "Implement session management" backlog task create -p <epic-id> "Add OAuth2 providers" backlog task create -p <epic-id> "Create login/logout UI" backlog task create -p <epic-id> "Add security middleware" -
Set dependencies between subtasks:
backlog task edit <subtask-id> --dep <blocking-task-id>
Viewing Epic Progress
- List all subtasks:
backlog task list -p <epic-id> - View epic details:
backlog task <epic-id> - Check board:
backlog boardshows hierarchical view
Epic Organization Patterns
Pattern 1: Feature Epic
Epic: User Dashboard
├── task-10: Design dashboard layout
├── task-11: Create dashboard API endpoints
├── task-12: Build dashboard components
└── task-13: Add dashboard tests
Pattern 2: Sprint/Milestone Epic
Epic: Sprint 3 Goals
├── task-20: Fix login bug
├── task-21: Improve search performance
└── task-22: Add export feature
Best Practices
- Keep epics focused - one major feature or outcome
- Limit subtasks to 5-10 per epic for manageability
- Use labels consistently within an epic
- Set realistic dependencies - don't over-constrain
- Update epic description as scope evolves