Agile guide · Agile practices
Epics vs Stories vs Tasks: Agile Hierarchy With Examples
Epics vs stories vs tasks is a question about size and purpose: an epic is a large goal that spans several Sprints, a user story is a small slice of value for a user that fits in one Sprint, and a task is a technical step the team takes to finish a story. Together they turn a broad objective into work people can pick up today. This guide compares the three levels, shows a full worked example, explains how Jira and other tools name them, and gives you a step-by-step way to break work down.
Key takeaways
- Epics hold goals, user stories hold value and tasks hold steps. Only epics and stories describe something a user or customer can benefit from; a task on its own does not.
- Typical sizes: an epic runs for several Sprints, a story fits comfortably inside one Sprint, and a task takes a day or less.
- The Product Owner or product manager shapes epics and stories with the team; the Developers create tasks, usually in Sprint Planning and during the Sprint.
- In Jira, a Task is a peer of a Story, not a child of it. The step inside a story is a Sub-task. Agree which meaning your team uses.
- The hierarchy is a widely used convention, not part of the Scrum Guide. Scrum only defines Product Backlog items, so keep the structure as simple as your work allows.
- Break work down progressively: refine the next few Sprints in detail and leave later epics rough until you know more.
What are epics, stories and tasks?
Epics, user stories and tasks are three levels of an Agile backlog. An epic is a large body of work with one goal, delivered over several Sprints. A user story is a small, user-focused piece of that goal that fits in one Sprint. A task is a technical step, usually a day or less, that completes a story.
The levels exist because no one can start work on something as vague as 'improve onboarding'. Splitting work from big to small lets the Product Owner discuss outcomes with stakeholders while the Developers plan concrete work for the next few days.
Epic
An epic is a container for related stories that share one goal, such as 'Online class booking' or 'Self-service password reset'. It is too big to finish in one Sprint, so it is split into stories before anyone starts building. Good epics have a clear outcome and a way to tell when they are finished, for example 'members can book, cancel and join waiting lists online, and at least half of bookings are made without staff'.
User story
A user story describes a small piece of functionality from the point of view of the person who benefits. The common format is 'As a [type of user], I want [capability] so that [benefit]', backed by acceptance criteria that define when it works. A story should be small enough that the team can finish several in one Sprint, and valuable enough that a user would notice if it shipped.
Task
A task is a unit of work the team does to complete a story: build the screen, add the database field, write the tests, update the help text. Tasks are written by and for the Developers. They make progress visible during the Sprint but do not deliver value on their own: a finished database migration with no working feature on top helps no one yet.
The Agile work hierarchy at a glance
Most organisations add one or two levels above epics to connect day-to-day work with strategy. The table shows the common levels from largest to smallest.
| Level | What it is | Typical horizon | Usually written by | Where it appears |
|---|---|---|---|---|
| Theme or initiative | A strategic objective or focus area that groups several epics | Several months to a year or more | Leadership, product management | Strategy, OKRs, portfolio roadmap |
| Epic | A large body of work with one goal | Several Sprints, often within a quarter | Product Owner or product manager | Product roadmap, release plan |
| Feature (optional) | A distinct capability, used between epic and story in SAFe and some tools | One to a few Sprints | Product Owner or product manager | Release plan, Program Backlog |
| User story | A small slice of value for a user | A few days; fits in one Sprint | Product Owner with the team | Product Backlog, Sprint Backlog |
| Task (sub-task) | A technical step to complete a story | Hours to one day | The Developers doing the work | Sprint Backlog, task board |
Not every team needs every level; a small team may track tasks as checklists. Large programmes using the Scaled Agile Framework (SAFe) define their own levels (epics, features and stories) and give 'epic' a larger meaning than most single teams do, so check which definition people are using before you compare sizes.
The idea resembles a work breakdown structure, except that an Agile backlog is broken down progressively, a few Sprints ahead, rather than all at once.
Epics vs stories vs tasks: key differences
The quickest way to tell the levels apart is to ask who benefits, how big it is and how you know it is done.
| Epic | User story | Task | |
|---|---|---|---|
| Purpose | Group related stories under one goal | Deliver value a user can see or use | Complete one step of a story |
| Point of view | Business or user outcome | A specific user | The team or the technology |
| Delivers value on its own? | Yes, once enough stories are done | Yes | No |
| Typical size | Several Sprints | A few days; fits in one Sprint | Hours to one day |
| Estimated in | T-shirt size or the sum of its story points | Story points or similar relative units | Hours, or not estimated at all |
| Written by | Product Owner or product manager | Product Owner with the team and stakeholders | Developers |
| Done when | Its goal is met (not necessarily every story) | Acceptance criteria and Definition of Done are met | The step is complete |
| Lives in | Roadmap and release plan | Product and Sprint Backlogs | Sprint Backlog and task board |
Epic vs user story
The difference is mainly size and specificity. An epic says what you want to achieve ('online class booking'); a story says exactly what one type of user will be able to do next ('as a member, I want to cancel a booking so that someone else can take my place'). If the team cannot estimate an item with reasonable confidence or finish it in one Sprint, it is behaving like an epic and needs splitting.
User story vs task
The difference is value. Ask: 'If we stopped after this item, would a user notice anything?' If yes, it is a story. If the answer is 'no, but it is a step towards something they will notice', it is a task. 'Add a cancel button and release the place' is a story. 'Create the cancellations table' is a task.
See our guide to writing user stories for formats, acceptance criteria and examples.
What 'task' means in Jira and other tools
The word 'task' causes more confusion than any other term on this page, because tools use it in two ways.
- In the generic Agile hierarchy (and on this page), a task is a step inside a story. Teams create several per story.
- In Jira, the default hierarchy has three levels. Epics sit at the top. Stories, Tasks and Bugs sit together on the middle level as peers. Sub-tasks sit at the bottom and can belong to any of them. A Jira Task is therefore not a child of a Story; it is a piece of work that is not written from a user's point of view, such as renewing a certificate or setting up a test environment. The step inside a story is a Sub-task.
Atlassian's documentation says additional levels above epics, such as initiatives, are available on Jira Premium. Jira now calls issues 'work items'. Our Jira review covers its hierarchy, boards and pricing in detail.
A simple rule works in most tools: user value = story; necessary work with no direct user value = task (peer of a story); a step to finish a story = sub-task.
How common tools name the levels
General work management tools do not have built-in epics and stories, so teams map the levels onto their own structure. The mappings below are common choices rather than vendor rules.
| Tool | Native structure | A common way to map epic / story / task |
|---|---|---|
| Jira | Epic, then Story, Task and Bug as peers, then Sub-task | Epic / Story / Sub-task (Task for non-user work) |
| Wrike | Spaces, folders, projects, tasks and subtasks | Project or parent task / task / subtask, with custom item types and fields |
| Asana | Teams, projects, tasks and subtasks | Project or parent task / task / subtask |
| ClickUp | Spaces, folders, lists, tasks and nested subtasks | List or parent task / task / subtask, with sprint points switched on |
| monday.com | Workspaces, boards, groups, items and subitems | Group or board / item / subitem (monday dev adds dedicated sprint tools) |
If your organisation needs Agile delivery alongside portfolio planning, resource management and request intake in one place, Wrike, our top-ranked tool, handles the hierarchy well through custom item types and cross-project views. Software teams that live in backlogs and story points often prefer Jira, and ClickUp and Asana both work well for mixed teams. Compare options side by side in our project management tool comparison.
Worked example: from initiative to tasks
This illustrative example follows one piece of work for a fictional gym chain from strategy down to the tasks a developer picks up on a Tuesday morning.
Initiative
Increase class attendance through self-service. Today members book classes by phone or at reception, staff spend hours on bookings, and popular classes have no-shows while others have queues.
Epic
Online class booking. Goal: members can find, book and cancel classes online, and empty places are refilled from a waiting list. Success measure (set by the Product Owner): most bookings made online within three months of launch. Out of scope for now: paid classes and personal training.
User stories in the epic
| # | User story | Estimate |
|---|---|---|
| 1 | As a member, I want to see the class timetable with remaining places so that I can choose a class that has space | 3 points |
| 2 | As a member, I want to book a place in a class so that it is reserved for me | 5 points |
| 3 | As a member, I want to cancel a booking so that someone else can take my place | 3 points |
| 4 | As a member, I want to join a waiting list for a full class so that I get a place if one becomes free | 5 points |
| 5 | As a member, I want a reminder two hours before class so that I do not forget | 2 points |
| 6 | As an instructor, I want to see who has booked my class so that I can check people in | 3 points |
The epic totals 21 points. If the team usually completes 20 to 25 points per Sprint and also has other work, the Product Owner can expect the epic to take roughly two Sprints. That forecast belongs in release planning, not in a promise.
Acceptance criteria for story 2
- Given a class has places left, when a member taps Book, then the place is reserved and the remaining count drops by one.
- Given a class is full, when a member views it, then the Book button is replaced by Join waiting list.
- Given a member already has a booking for that class, when they try to book again, then they see a message and no second booking is created.
- The member receives an on-screen and email confirmation.
Tasks for story 2
In Sprint Planning, the Developers break story 2 into tasks:
| Task | Estimate |
|---|---|
| Build the Book button and confirmation screen | 4 hours |
| Add the booking endpoint with a capacity check | 6 hours |
| Prevent duplicate bookings for the same member and class | 3 hours |
| Send the confirmation email | 2 hours |
| Write automated tests for available, full and duplicate cases | 4 hours |
| Update the timetable to show the new remaining count | 2 hours |
| Accessibility and mobile check | 1 hour |
Notice what changed at each level: the initiative explains why, the epic sets a goal and boundary, each story is usable by a member or instructor, and each task fits in a day. When every task is done, the story is checked against its acceptance criteria and the Definition of Done. When enough stories are done to meet the goal, the epic closes, even if story 5 (reminders) is still in the backlog.
Want to set this up for your own team? Our free user story template includes fields for the epic, the story, acceptance criteria, estimate and priority.
How to break an epic down, step by step
Use this process whenever a new epic reaches the top of the roadmap. It works for software and non-software teams alike.
- Start from an outcome. Take an objective from the Agile roadmap and state the problem, the users affected and how you will measure success.
- Write the epic. Give it a short name, a one-sentence goal, a success measure and an explicit list of what is out of scope. The boundary stops the epic growing for ever.
- Map the user journey. List the steps users take, left to right (find a class, book, attend, cancel). Under each step, note the things users need. This story map shows the whole epic on one page.
- Slice into stories. Turn each need into a story using the 'As a / I want / so that' format, or a plain sentence if your team prefers. Use the splitting patterns in the next section when a story is too large.
- Choose a thin first release. Pick the smallest set of stories that delivers the goal end to end, even crudely. Everything else becomes a later, lower-priority story.
- Refine the top stories. In backlog refinement, add acceptance criteria, discuss risks and check each story against INVEST: independent, negotiable, valuable, estimable, small and testable (a checklist credited to Bill Wake).
- Estimate. Size the stories relatively with story points or another unit. Large or uncertain items go back for further splitting.
- Order the backlog. The Product Owner places the ready stories in the Product Backlog according to value, risk and dependencies.
- Create tasks in Sprint Planning. The Developers pull stories into the Sprint and break them into tasks of a day or less. This is the plan for how they will deliver the Sprint Goal.
- Track and close. Update tasks daily on the Scrum board, close each story when it meets its criteria, and close the epic when its goal is met.
Story-splitting patterns with examples
Most teams struggle less with writing stories than with making them small enough. These patterns split a large story while keeping each piece valuable to a user. The examples use the gym booking epic.
| Pattern | Split by | Example |
|---|---|---|
| Workflow steps | Each step in the user's journey | Browse timetable / book / cancel / check in |
| Happy path first | The simplest successful route, then the exceptions | Book an available class first; handle full classes and duplicates later |
| Business rules | One rule per story | Limit of three bookings per week; no booking within 30 minutes of start |
| User types | Each kind of user | Members first, then instructors, then reception staff |
| Data or variations | Different types of input or content | Group classes first, then swimming lessons with lane allocation |
| Interfaces or channels | Each device or channel | Mobile web first, then the app, then the kiosk at reception |
| Simple then complex | A basic version, then refinements | Text reminder first; personalised reminders with travel time later |
| Spike | A time-boxed investigation before the real story | Two days to test the payment provider's API before paid classes |
Avoid splitting by technical layer (front end, back end, database). Each piece would be a task disguised as a story, and none of them would be usable alone. If you find yourself writing 'As a developer, I want...', check whether it is really a task.
Which level is this item? Bugs, spikes and technical work
Real backlogs contain more than tidy user stories. This table shows where common item types usually fit.
| Item | Usually sits at | Notes |
|---|---|---|
| New capability for users | Story | The default for most backlog items |
| Bug found after release | Story level (Jira: Bug) | Ordered in the Product Backlog with other work; may link to an epic |
| Bug found during the Sprint in the story being built | Task inside that story | Fix it as part of finishing the story |
| Spike or research | Story level, time-boxed | Output is knowledge or a decision, not a feature |
| Technical debt or upgrades | Story level (Jira: Task) | Explain the benefit, such as faster releases or reduced risk; see technical debt in Scrum |
| Large compliance or platform change | Epic | Split into stories that each deliver a verifiable part |
Sizing rules of thumb
There are no official sizes for any of these levels. The ranges below are common guidance that works for many teams; adjust them to your Sprint length and context.
| Level | Common guidance | Warning sign |
|---|---|---|
| Epic | Delivers its goal in a few Sprints, often within one quarter | Open for more than a couple of quarters, or has dozens of stories |
| Story | Small enough that several fit in one Sprint | Regularly carried over to the next Sprint |
| Task | One day or less | Sits 'in progress' on the board for several days |
The task guidance has a basis in Scrum itself. The 2020 Scrum Guide says that Developers often plan the Sprint by decomposing Product Backlog items into smaller work items of one day or less. It describes this as common practice, not a rule.
For epics, a clear goal matters more than the number of stories: an epic that has drifted for six months probably needs splitting or redefining. Our guide to estimation and story points explains how to size work relatively.
Who creates and owns each level
Ownership follows the question each level answers: why and what (Product Owner) versus how (Developers).
| Activity | Product Owner or product manager | Developers | Stakeholders |
|---|---|---|---|
| Define initiatives and epics | Leads | Advise on feasibility | Contribute goals and constraints |
| Write and order user stories | Accountable | Help write and refine | Provide needs and feedback |
| Write acceptance criteria | Accountable | Contribute test cases and edge cases | Confirm intent |
| Estimate stories | Clarifies questions | Estimate | Not involved |
| Create and update tasks | Not involved | Own entirely | Not involved |
In Scrum, the Product Owner is accountable for the Product Backlog, which includes epics and stories, but anyone can propose items. The Sprint Backlog, including tasks, belongs to the Developers. Assigning tasks to named people at Sprint Planning works against this: let the team decide who picks up what during the Sprint.
How the hierarchy fits Scrum events
Each level is worked on at a different point in the cycle.
- Roadmap and release planning: initiatives and epics are ordered and given rough sizes.
- Backlog refinement: epics are split into stories, and the top stories gain acceptance criteria and estimates.
- Sprint Planning: the team picks stories for the Sprint Goal and breaks them into tasks, creating the Sprint Backlog.
- Daily Scrum: the team inspects progress on tasks and stories and adjusts the plan.
- Sprint Review: completed stories are shown to stakeholders; epic progress is discussed against its goal.
- Retrospective: the team reflects on whether stories were the right size and tasks were useful.
Common mistakes and how to fix them
| Mistake | Why it hurts | Fix |
|---|---|---|
| Using tasks for everything | The backlog becomes a to-do list with no visible outcomes | Write stories for anything a user benefits from; keep tasks inside stories |
| Epics that never close | Progress is invisible and the roadmap loses meaning | Give each epic a goal, a success measure and an out-of-scope list; close it when the goal is met |
| Splitting stories by technical layer | No piece is usable on its own, so nothing can be released or reviewed | Split by workflow step, rule or user type instead |
| Adding story points and task hours together | The units measure different things and the total means nothing | Track stories in points and tasks as counts or hours, separately |
| Writing all tasks up front for the whole epic | Wasted effort when plans change | Create tasks only for stories in the current Sprint |
| Too many levels | People cannot find work or agree where it belongs | Use three levels, plus one above epic only if strategy needs it |
| Inconsistent use of 'task' | Reports and boards mix up peer tasks and sub-tasks | Write a one-page working agreement on what each level means |
| Stories with no acceptance criteria | Endless debate about whether something is done | Add criteria during refinement, before the story enters a Sprint |
How to set up the hierarchy in your team
Agree the hierarchy once, write it down and revisit it at a retrospective after a few Sprints. A short working agreement covers most of it:
- Name the levels you will use (for example: initiative, epic, story, sub-task) and give one example of each from your own product.
- Define size guidance for each level and what 'done' means at each level.
- Decide where bugs, spikes and technical work go.
- Decide who can create each level and who orders the backlog.
- Configure your tool to match, and remove item types you will not use.
- Review the agreement after two or three Sprints and simplify where people are confused.
Our free product backlog template shows ordered items with epics and estimates, and the Sprint Planning template gives you a place to record the Sprint Goal, selected stories and tasks. Once the hierarchy is in place, design the board those items move across; see our guide to designing an Agile workflow.
Free templates for this topic
Frequently asked questions
What is the difference between an epic, a story and a task?
An epic is a large goal that takes several Sprints, a user story is a small slice of that goal that delivers value to a user within one Sprint, and a task is a technical step, usually a day or less, needed to finish a story.
Is a task smaller than a story?
In the generic Agile hierarchy, yes: tasks are steps inside a story. In Jira, a Task is a peer of a Story on the same level and is not necessarily smaller; the step inside a story is called a Sub-task.
Do tasks need story points?
Usually not. Story points are applied to stories so the team can forecast. Tasks are often estimated in hours or simply counted. Do not add task hours to story points.
What is the difference between a task and a sub-task in Jira?
A Jira Task sits on the same level as a Story and Bug and represents work without a user-facing outcome. A Sub-task belongs to a parent item (a Story, Task or Bug) and represents one step of it.
What comes above an epic?
Many organisations group epics under themes or initiatives that link to strategic objectives or OKRs. In Jira, Atlassian says levels above epic are available on the Premium plan.
What is the difference between an epic and a feature?
Where both are used, as in SAFe, a feature is a capability that sits between an epic and stories and can usually be delivered within a planning increment. Many single teams skip features and use only epics and stories.
How many user stories should an epic have?
There is no rule. Many epics contain somewhere between a handful and a few dozen stories. If an epic keeps growing and never closes, split it into smaller epics with their own goals.
Who writes user stories and tasks?
The Product Owner is accountable for the Product Backlog, but stories are usually written with the Developers and stakeholders. Tasks are created by the Developers, mainly in Sprint Planning.
Can a story exist without an epic?
Yes. Small, standalone stories such as a single improvement or bug fix do not need a parent epic.
Where do bugs fit in the hierarchy?
Bugs found after release are usually ordered in the Product Backlog at story level, sometimes linked to an epic. Defects found while building a story are fixed as tasks within that story.
Are epics and user stories part of Scrum?
No. The 2020 Scrum Guide describes Product Backlog items and a Sprint Backlog but does not prescribe epics, stories or tasks. They are complementary practices many Scrum Teams use.
Can non-software teams use epics, stories and tasks?
Yes. A marketing team might have an epic for a product launch, stories such as 'as a prospect, I want a comparison page so that I can choose a plan', and tasks for copy, design and review.
Where should I track epics, stories and tasks?
In any backlog or work management tool that supports parent and child items. See our project management tool comparison to shortlist options.