Bookmarks

User story

A short description of a user’s need, written from the user’s perspective following the “As a …, I want …, so that …” template — a unit of the backlog in agile development.

Also: user story, user stories

checked 9 Nov

All terms

A story replaces a long requirements description with one simple sentence: it is clear who benefits, what they are missing and why they need it. The team discusses the details before implementation and accepts the work against the agreed acceptance criteria.

What a story looks like

Template partAnswers the questionExample
Rolewho gets the valueAs a registered user
Actionwhat they want to doI want to sign in with a one-time code
Valuewhy it is neededso that I don’t have to enter a password on every device

It is written on a single line: “As a registered user, I want to sign in with a one-time code so that I don’t have to enter a password on every device”. A story is not a specification: the team clarifies the details in conversation and records them in the acceptance criteria.

The INVEST criteria

Good stories are checked against the INVEST acronym, suggested by Bill Wake in 2003:

LetterCriterionWhat it means
IIndependentdoes not depend on the other stories — they can be done in any order
NNegotiablean invitation to a conversation, not a contract with a fixed scope
VValuabledelivers value to the user or the business, not “build a data layer”
EEstimablethe team can estimate the size, at least approximately
SSmallsmall: in Wake’s wording, no more than a few person-weeks, and some teams cap it at a few person-days
TTestablethe acceptance criteria can be used to check that the story is done

Where the term comes from

Stories emerged in extreme programming (XP): the first written description, in 1998, presents them as a way for the customer to define the scope of a project — “similar to use cases”. The “role — feature — benefit” template was invented in 2001 by the British company Connextra, which is why it is called the Connextra format. Also in 2001, Ron Jeffries formulated the three components of a story: card, conversation and confirmation — the note, the discussion with the customer and the criteria by which the work counts as done.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • acceptance criteria

    A story describes a need in a single sentence, while acceptance criteria are the testable conditions under which the work counts as done.

  • PRDproduct requirements document

    A PRD gathers the product requirements in a single document, while stories are short, independent backlog entries, each going into a sprint on its own.

In depth in the references

where the topic is covered in detail