User story
A user story is a short description of a need written from the point of view of the person who has it, often in the form "As a [role], I want [capability] so that [benefit]". It is small enough to deliver within one sprint and is confirmed by acceptance criteria.
What it is
A user story is a short statement of what a user wants from a system and why, written in the user’s words instead of technical terms. It is a unit of requirement in agile work, small enough for a team to build and test within a single sprint, the fixed work period of a team.
The common template names three parts: “As a [role], I want [capability] so that [benefit]”. The role says who needs it, the capability says what the system does, and the benefit says why. The reason matters because it lets the team judge whether a different solution would meet the same need.
A story is often described by three elements, known as card, conversation and confirmation:
- The card is the short written statement, a reminder that a need exists.
- The conversation is the discussion between the business, the developers and the testers that builds shared understanding.
- The confirmation is the set of acceptance criteria that show the story is done.
Why it matters
A requirement written as a long specification can be read differently by the business and the developers. A story keeps the user and the benefit visible, and moves the detail into a conversation held when the work is about to start.
Stories also make the backlog manageable. Each one can be ordered by value, estimated, delivered and tested alone. Without a stated benefit, a team can build what was asked for and miss what was needed.
Worked example
Illustrative numbers. A payments product owner writes a story: “As a treasury analyst, I want a daily file of rejected payments so that I can chase them before cut-off.”
The team discusses it and agrees three acceptance criteria. The file is produced once per business day. It lists each rejected payment with its reference and reason code. It is available before a stated time.
The team estimates the story at 3 points, against a sprint capacity of 20 points. Story points are relative sizes, not hours. If the file also had to cover three further payment types, the team would split the story into one story per type, so that each fits in a sprint and can be accepted on its own.
Assumptions
- The user can be named. A story with no real role behind it is a task in disguise.
- The story is small and independent enough to be delivered and accepted alone.
- Detail is available when the sprint starts, through conversation and acceptance criteria.
- Rules that apply to every story, such as security or audit trail, are written as separate requirements. A single story cannot carry them.
Who uses it
- Product owners write stories, order them in the product backlog and accept or reject the finished work.
- Business analysts turn a business need into stories, add acceptance criteria and clarify them with users.
- Developers and testers use the conversation and the criteria to decide what to build and how to test it.
- Project managers read the backlog of stories to track what is delivered sprint by sprint.
Common confusions
- A story is not a full specification. The detail lives in the conversation and in the acceptance criteria.
- Acceptance criteria and the story are separate items. The story states the need, the criteria state how to check it.
- A story is not a task. “Build the database table” has no user and no benefit.
- Stories do not replace constraints such as performance or security, which are better captured as non-functional requirements.
- Sprint-sized does not mean trivial. Large needs are split into several stories, often called an epic when grouped.