Skip to content

How to write user stories and acceptance criteria

Irish tax guides · Management and leadership · 27 November 2026 · 5 min read

A user story is one short sentence that says who wants something, what they want to do and why. Acceptance criteria are the examples that prove the story is finished, written before the work starts. Together they let a small team agree what to build, build the right thing and check it, without a hundred-page specification.

What is a user story?

A user story has three parts:

  • The person the work serves. A real role, such as "a patient" or "a bookkeeper", not "the system".
  • The thing they want to do. An action, not a feature name.
  • The so that. The need behind it. This is the part people skip, and it is the most important.

The standard shape is: "As a [person], I want to [do something], so that [I get this benefit]." If you cannot finish the "so that", perhaps there is no need yet. The story is a promise to talk about the detail, not the detail itself.

Worked example: a physiotherapy clinic

Saorla runs a physiotherapy clinic. Patients ring to book, and the phone is busy all morning. She wants a booking page. Her first story:

As a patient, I want to book an appointment online, so that I do not have to ring during opening hours.

Is it small enough? Probably not. Booking involves choosing a slot, confirming, getting a reminder and rescheduling. We will split it below. First, how do you prove a story is done?

What are acceptance criteria?

Acceptance criteria are the checks that decide whether a story is finished. The simplest form is Given, When, Then:

  • Given sets the scene: a patient has chosen a free slot.
  • When is the action: they confirm.
  • Then is what is true afterwards: they see a confirmation and the slot is no longer offered to anyone else.

A good criterion is one anyone can read and anyone can test. "The page should be user-friendly" cannot be tested. "Given a slot is chosen, when the patient confirms, then a text message arrives within a minute" can. Write two or three examples per story, including one unhappy path, such as what happens when two patients pick the same slot.

How do you split a story that is too big?

Good stories are small enough to finish and test inside one sprint (a short, fixed work period, usually one to four weeks; see Scrum versus Kanban). A sign of a story that is too big is a conversation that keeps growing. Five ways to split it:

  1. By step of the journey: choose a slot, confirm, remind, reschedule.
  2. By type of user: a new patient, a returning patient, a staff member.
  3. The simplest version first: a fixed list of slots before a live calendar.
  4. By rule: basic booking first, then the cancellation-fee rule.
  5. By data or channel: web first, then phone app.

Each piece must still deliver something a real person can use. A slice nobody can use is only half a slice.

Saorla's big story becomes three small ones: "choose a time slot", "confirm by text message" and "reschedule". Each gets its own criteria. For the second: given a slot is chosen, when the patient confirms, then a text arrives. Plain and kind wording is added as another criterion, because patients may be anxious or in pain.

Criteria or definition of done?

People mix these two up. They are different:

  • Acceptance criteria belong to one story. Each story has its own examples.
  • The definition of done belongs to every story. It is the team's shared standard: tested, accepted by the owner, nothing else broken.

The definition of done is also where qualities that apply to everything live: how fast the page loads, whether people with different abilities can use it, and privacy. A patient booking page holds health-related personal data, so a privacy check belongs in the team's definition of done, not only in one story.

When should criteria be written?

Before the sprint starts, in the backlog, next to the story, and agreed with the person who will accept the work, ideally in a 15-minute conversation with both the owner and the builder. If criteria are written after the build, they describe what was built, not what was needed. That is how teams deliver something that works perfectly and is not what anyone wanted.

Treat the story and its criteria as the record. A change needs the owner's agreement and is logged, as in agile leadership for managers. Once stories exist, the next step is putting them in order of value, which is the job of the backlog.

A simple routine to use this week

  1. List the things your customers or staff want from the change, in their words.
  2. Write each as a story, with the "so that".
  3. Drop or question any story without a clear need.
  4. Split anything you could not finish and test inside a sprint.
  5. Write two or three Given, When, Then examples per story.
  6. Agree the definition of done once, for all stories.
  7. Put the stories in the backlog and decide the order with the owner.

What catches people out?

  • A story without the "so that".
  • Writing criteria after the build.
  • A story too big to finish in one sprint.
  • Mixing the definition of done with one story's criteria.

Key points

  • The "so that" holds the need.
  • Criteria prove the story and are written before the build.
  • Keep stories small enough to finish in a sprint.
  • The definition of done applies to every story.

Stories work for any change, not only software: a new office process, a customer service fix, a website. The Strategic Management programme and its Leading Agile and Flexible Teams course show how to run this way of working yourself.

Questions people ask

What is a user story?
A user story is one sentence saying who wants something, what they want to do and why: As a patient, I want to book online, so that I do not have to ring. It is a promise to discuss the detail, not the detail itself.
What are acceptance criteria in Given, When, Then form?
Given sets the scene, When is the action and Then is what must be true afterwards. For example: given a slot is chosen, when the patient confirms, then a text message arrives. Each criterion should be readable and testable by anyone.
What is the difference between acceptance criteria and the definition of done?
Acceptance criteria belong to a single story and prove that story works. The definition of done is a shared standard for every story, such as tested, accepted by the owner and nothing else broken. Both are needed.
How small should a user story be?
Small enough to be built and tested within one sprint. If the conversation about it keeps growing, split it by step of the journey, type of user, the simplest version first, or by rule. Each piece should still be usable.

Know someone this would help? Share it.