Skip to content

Agile and Hybrid

User Stories

PMP · Agile and Hybrid · 2 lessons · about 25 min

Part of the free PMP video course: every lesson starts with its video →

What this chapter covers

The user story is the basic unit in which agile projects describe requirements, and most items in the product backlog take this form. PMBOK 8 defines a user story as a brief, textual description of an outcome from a specific stakeholder perspective, and a promise for a conversation to clarify details. This chapter covers four things: how to write a user story, how to split a large requirement into small stories that fit into an iteration, what standard to use to judge whether a finished story is acceptable, and what to do when there is an objection during the iteration review.

By the end of this chapter you should be able to do the following. Write a user story in the common three-part format and explain why the value is the most important part. State what 3C and INVEST stand for. Build a persona for a key user whose stories are missing. Split an epic into stories and a story into tasks, slicing vertically by value. Turn a vague request into acceptance criteria that can be verified. When there is an objection to the Increment in a review, clarify first; if acceptance criteria were not met, replan, and if it is a new expectation, add or adjust a backlog item.

Lessons in this chapter

  • Lesson 1: User story format, personas and epic decomposition. The standard three-part format; 3C and INVEST; user personas; the hierarchy of epic, story and task; decompose and re-estimate before bringing an item into a near-term iteration, and slice vertically by value; a worked example splitting an "online payment" epic.
  • Lesson 2: Acceptance criteria and review for user stories. Acceptance criteria apply to a specific deliverable or item (with user stories, usually a single story) and can be written in forms such as "given, when, then" as conditions that clearly say whether they are met. Set the criteria before coding and testing. If there is an objection in the review, first talk through the expectation: if the criteria were not met, replan the item; a new expectation means adding or adjusting a backlog item and ordering it in the backlog.

Chapter map

Question to answerConceptLesson
What should a requirement look like?User story: role, goal, benefitLesson 1
What makes a good story?3C, INVESTLesson 1
Who is it written for?User personaLesson 1
What if one iteration cannot hold it?Split the epic vertically by value into small stories; break a story into tasks once it enters an iterationLesson 1
How do you tell it was done right?Acceptance criteriaLesson 2
What if someone is unhappy in the review?Clarify expectations; if criteria were not met, replan; a new expectation means adding or adjusting a backlog itemLesson 2
From epic to task

Study tips and practice

  • Remember the order of judgment: first clarify through conversation; then, depending on the case, replan the item or add or adjust a backlog item (rewriting the story or acceptance criteria if needed); then order it in the product backlog. Do not start by escalating, sending people to training or changing people.
  • When a question includes words such as "as fast as possible" or "user-friendly", think "testable". When it says "cannot be finished in one iteration", think "split it smaller".
  • The differences among acceptance criteria, the definition of ready and the definition of done are compared systematically in the Definition of Done chapter. This chapter concentrates on how to write and use acceptance criteria.
  • This chapter is short. Practice it together with the product backlog chapter.

Lesson 1

User Story Format, Personas and Epic Decomposition

Lesson video

Lesson overview

The user story is the basic unit in which agile projects describe requirements, and most items in the product backlog take this form. This lesson answers three questions: how to write a user story, whom you need to understand before you write it, and how to split a large requirement into small stories that fit into an iteration. The exam rarely tests memorized definitions here. It mostly asks scenarios: the customer says the story is "not what we wanted", the story is vague, or a big feature cannot be finished in one iteration. ECO: Process domain, Task 2 (Develop and manage project scope). The next lesson covers acceptance criteria and review.

What a user story is and how to write one

PMBOK 8 defines a user story this way: "A user story is a brief, textual description of an outcome from a specific stakeholder perspective, and is a promise for a conversation to clarify details." In plain words, it is not a fixed requirements document but a placeholder card. It holds a spot in the backlog, and the details are left until the work is about to be done, when the team and the product owner talk them through face to face.

The common three-part template (PMBOK 8 says only that a typical user story should describe the role, the goal and the benefit; it does not prescribe a fixed sentence pattern): As a [role], I want [goal], so that [benefit]. The role answers "who will use it", the goal answers "what do they want" and states only the result, not an implementation plan, and the benefit answers "why do they want it" and explains what the feature does for the role. The most important part is the benefit after "so that". People tend to ask for a solution directly and bury the real need inside it. Adding the benefit forces the purpose out, and gives developers a chance to propose a cheaper way.

Figure 1 A user story card: the story on the front, the acceptance criteria on the back

User stories are often remembered with the "3C": Card (the story is written on a small card, deliberately limiting its length), Conversation (details are filled in through face-to-face discussion between developers and the customer or product owner), and Confirmation (the acceptance criteria, used to confirm that what was built is right). A good story should also satisfy the six INVEST criteria: Independent, Negotiable, Valuable, Estimable, Small, Testable. Both 3C and INVEST are common exam terms. The exam seldom tests the six words directly, but scenarios such as "the story is vague so it cannot be verified" or "the story is too big so it cannot be estimated" all land on these criteria.

Personas first, then split the epic

Before writing stories you need to know who you are writing for. A user persona (a common exam term) makes a class of target users concrete: give it a representative name and write down age, occupation, preferences, pain points and expectations. No product can please everyone, and personas help the team focus on its target users (you still need to identify and address the necessary requirements of customers, regulators and other key stakeholders). If you find that the stories for a class of key users are missing, first add to or correct the persona for that class, collect the missing stories role by role through interviews, workshops or story mapping, and then order them by value.

Requirements come in different sizes. PMBOK 8 defines an epic as "a large, related body of work intended to hierarchically organize a set of requirements and deliver specific business outcomes." In adaptive projects the scope is represented by the product backlog, whose work items can be decomposed into epics and user stories. An epic that is too big to finish in one iteration must first be split into user stories. Stories are then broken down into tasks by the development team, and tasks can be estimated in hours or another unit the team agrees on (PMBOK 8 notes that many agile teams use story points, because estimating in hours is often more time-consuming and less reliable).

Figure 2 From epic to task: smaller as you go down, and closer to the iteration

Three points matter in splitting. First, decompose before bringing an item into a near-term iteration. An epic can first be given a rough high-level estimate (PMBOK 8: estimates can be made at different levels). A large story can be roughly estimated too, but it is hard to reach the estimating reliability needed for near-term iteration planning, and certainly cannot be finished in one iteration, so before it goes into a near-term iteration it should be decomposed into stories small enough and re-estimated. Second, there is no industry-wide standard for granularity. The team and the product owner negotiate until it is "good enough": small enough to complete and demonstrate within one iteration, and large enough still to represent a piece of value that means something to the user. Third, slice vertically by user value, not horizontally by technical layer. If you build the database first and the interface afterward, the user can do nothing with what is delivered on its own. The product owner and the team refine epics and user stories together: the product owner clarifies value and priority, and the team assesses size and technical feasibility and breaks the work into implementation tasks.

Worked example: splitting the "online payment" epic

A team's velocity is about 20 points. The customer's top priority, "online payment", is roughly estimated at 45 points, which will not fit into one iteration.

Step 1: slice vertically. Split it into 4 stories sliced by user value (assume the system already has basic transaction records; refunds and statement export must be marked as dependent on payment transactions): QR-code payment 12 points, balance payment 8 points, refund 13 points, statement export 9 points.

Step 2: check the size. The largest, 13 points, is below the team's historical velocity of about 20 points, so at first glance it may be completed within one iteration. The team still has to confirm this at iteration planning in light of capacity, dependencies and risk, and split further if necessary.

Step 3: check the total. 12 + 8 + 13 + 9 = 42 points, close to the rough estimate of 45. The difference comes from the work being clearer after refinement, and there is no need to force the totals to match.

Step 4: order them. QR-code payment and balance payment go first. Together they are 12 + 8 = 20 points, exactly the team's velocity of about 20 points, so the first iteration has a chance to let users actually pay (still to be confirmed against capacity at iteration planning). The rest are spread over later iterations. The wrong approach is to cut by technical layer into "build the payment table", "write the interface" and "build the screens"; until all three are done, users can use none of it.

Worked examples

Example 1 The customer says the stories are full of internal jargon and do not reflect their real expectations

Question 1Example

After a product demonstration, the customer says the user stories the team wrote are full of internal jargon and do not reflect their real expectations for the product. What should the project manager do next?

Show answer and explanation

Correct answer: C

After a product demonstration, the customer says the team's user stories are full of internal jargon and do not reflect their real expectations of the product. What should the project manager do next?

The point of a user story is to express a requirement briefly from the user's perspective and clarify details through conversation. A story that has drifted from the customer's expectations shows that there was not enough conversation, and the most direct step is to talk with the customer, learn the real expectations, and then rewrite accordingly. The order is clarify first, then rewrite. The “internal jargon” in the stem is the signal: stories should use language the customer understands and state the role, the goal and the benefit, with details filled in through conversation. The answer is C.

Why the other options are wrong

  • A. Applying for approval for training first jumps to an indirect remedy before the cause is established. The problem is that the stories do not reflect the customer's expectations, not a lack of skill.
  • B. The customer's complaint is too much jargon, and adding the technical vision would only take the stories further from the customer's language.
  • D. A story must take the customer's perspective. Even if a senior developer rewrites it, without conversation with the customer the real expectations still cannot be confirmed.

Key takeaway When a user story does not match the customer's expectations: clarify through conversation with the customer first, then rewrite.

Variation If the scenario is that a stakeholder is unhappy with a feature in the review, the handling is the same: talk about expectations first, then rewrite the story and order it in the product backlog.

Something wrong with this question?

Report an issue with this question

Example 2 "Report export should be as fast as possible": which INVEST criterion does it violate?

Question 2Example

A user story reads “Exporting reports should be as fast as possible.” At the iteration review, the product owner feels it is still not fast enough, while the developers think it meets the bar, and neither side will give way. By the INVEST criteria, which one does this story mainly violate?

Show answer and explanation

Correct answer: B

A user story says “Exporting reports should be as fast as possible.” At the review the product owner and the developers cannot agree whether it meets the bar. The question asks which INVEST criterion the story violates.

“As fast as possible” has no objective standard, so neither side can judge whether it passes, and that is why they cannot agree. The property that lets both sides use the same standard to decide pass or fail is Testable in INVEST, and that is mainly what this story violates. The fix is to write a quantifiable acceptance criterion, such as “an export of 100,000 rows completes within 5 seconds”. The six INVEST criteria are Independent, Negotiable, Valuable, Estimable, Small and Testable. On the exam they usually appear as scenarios, and you have to match the symptom to the criterion. The answer is B.

Why the other options are wrong

  • A. Independent means stories should have as few dependencies on each other as possible. The stem says nothing about dependencies on other stories.
  • C. Estimable means that the size of the work can be judged. What the two sides dispute is whether it meets the bar, not how much work it is.
  • D. The stem does not indicate that the story lacks value; the direct cause of the dispute is that “as fast as possible” cannot be objectively verified.

Key takeaway Vague words such as “as fast as possible” and “very friendly” make a story untestable. Turn them into quantifiable acceptance criteria.

Variation If the scenario is that a story is too big to estimate, the criteria violated are Small and Estimable. If a story can only be done after another story, it violates Independent.

Something wrong with this question?

Report an issue with this question

Example 3 The most important feature cannot be finished in one iteration

Question 3Example

After assessment, a team finds that the online payment feature the customer values most cannot be finished in one iteration, and it worries that the next iteration will also be affected. What should the team do?

Show answer and explanation

Correct answer: C

On a project, the team assesses that the online payment feature the customer values most will not fit in one iteration. What should the team do?

The story is too big for one iteration, so it should be decomposed further into smaller stories, each completable within one iteration, and delivered step by step over several iterations. That keeps the value the customer cares about most and brings feedback earlier. The split should be vertical by user value, so that each slice is a small but complete and usable piece of functionality. A story should be small enough to be completed and demonstrated within one iteration, which is the goal of the split; if it has not met the Definition of Done by the end of the iteration, it is not counted as complete. The answer is C.

Why the other options are wrong

  • A. Cutting features and dropping the rest would lose what the customer values most. Split first, do not cut.
  • B. Merely going back to the customer to say it cannot be done solves nothing. The team should first find a way to turn it into small deliverable pieces itself.
  • D. Asking the customer to simplify pushes the difficulty onto the customer and also reduces value. Splitting is the right approach.

Key takeaway A big story that cannot be finished: do not cut scope, split it small and deliver incrementally over iterations.

Variation If the question is how to split it, the answer is vertically by user value, for example QR-code payment first and refunds later, and not by technical layer into “create tables”, “write the interface” and “build the screens”.

Something wrong with this question?

Report an issue with this question

Common traps

Common trap

  • Writing a user story as a technical task ("create the orders table"): there is no role and no user value, so it is not a user story but a task split out of one.
  • If a story does not match the customer's expectations, first clarify with the customer through conversation and then rewrite it. Do not first send people to training, change people or hand it over to a senior developer to rewrite.
  • Words like "as fast as possible" and "friendly interface" make a story untestable. Turn them into quantifiable, verifiable acceptance criteria.
  • If a big story cannot be finished, the answer is not to cut scope or ask the customer to simplify, but to split it small and deliver it incrementally over iterations.
  • Decompose and re-estimate before bringing an item into a near-term iteration: an epic can be roughly estimated first, but a user story must be small enough to finish within one iteration and must not span iterations.

Key takeaways

Key point

  • A user story is a brief description from a stakeholder perspective, and a promise for a conversation to clarify details.
  • Common format: As a [role], I want [goal], so that [benefit]. The benefit is the most important part.
  • 3C: Card, Conversation, Confirmation. INVEST: Independent, Negotiable, Valuable, Estimable, Small, Testable.
  • If stories for a key user group are missing, add to or correct the persona and collect the missing stories through interviews, workshops or story mapping.
  • Split epics into stories and stories into tasks. Epics can be estimated roughly first; decompose and re-estimate before bringing an item into a near-term iteration, and slice vertically by value.
  • Order of handling: put a newly identified need into the product backlog first, clarify it through continuing conversation, rewrite the story or acceptance criteria, and have the product owner reprioritize. Select it into a near-term iteration once it is clear enough and small enough.

Lesson 2

Acceptance Criteria and Review for User Stories

Lesson video

Lesson overview

The previous lesson covered how to write a story. This lesson covers how to verify one. Acceptance criteria are the basis for judging whether a story has been done correctly. Written well, they end arguments among development, testing and review; written vaguely, every review turns into a dispute. The exam has two kinds of questions here. When testing missed defects, define testable acceptance criteria before development. When someone is unhappy in a review, first clarify whether agreed criteria were missed or a new expectation has emerged: replan the item in the first case, and add or adjust a Product Backlog item in the second. ECO: Process domain, Task 7 (Plan and optimize quality of products/deliverables). The earlier Definition of Done chapter already compared acceptance criteria, the definition of ready and the definition of done; this lesson concentrates on how to write and use acceptance criteria.

How to write acceptance criteria

PMBOK 8 defines acceptance criteria as "a set of conditions that are met before deliverables are accepted," and notes that "the acceptance criteria in a user story should focus on the specific functionalities and end-user expectations that should be fulfilled." For a user story, its acceptance criteria apply to that story; more generally, acceptance criteria can apply to a deliverable or another work item. In traditional story-card practice they are often written on the back of the card, and with digital tools they can be recorded in the story item. They are the "Confirmation" in the 3C.

The usual way to write them is "given some precondition, when an action is performed, then some result occurs", which makes acceptance a check that can be answered directly with yes or no. Each criterion should be objectively verifiable so that you can clearly decide pass or fail (verification may involve operating, waiting, observing or several checks), and must not be vague. Words such as "friendly", "quickly" and "stable" cannot be judged and should be changed to numbers or observable behavior, for example "within 3 seconds" or "no error after 3 consecutive clicks". Vague criteria make a story untestable, and in the review all that is left is argument.

Worked example: acceptance criteria for a library "reserve a book" story

Story: As a library patron with a weekday job, I want to reserve books in the mobile app for pickup next week, so that I can pick them up when I visit the library on the weekend.

  • Criterion 1: Given a book that is in stock, when the patron chooses an open day next week as the pickup day and taps "Reserve", then the system shows that the reservation succeeded and generates, within 1 minute, a pickup code that includes that pickup day.
  • Criterion 2: Given a book with zero stock, when the patron taps "Reserve", then the system says the book is out of stock and offers a "notify me when available" option.
  • Criterion 3: Given an existing reservation, when the book has still not been picked up after the library closes on the pickup day, then the system automatically releases the book.

Each criterion can be directly judged pass or fail. The acceptance criteria check the story's specific functionality and end-user expectations; the Definition of Done determines whether the Product Backlog item becomes part of the Increment.

Set the criteria first, then start work

It is best to set the acceptance criteria before development starts, and have development and testing both follow them. This is close to a test-first approach, but it is not the same as test-driven development. Two typical scenarios:

  1. After coding is finished, it turns out that testing missed defects. The fix is, from now on, to settle the acceptance criteria for coding and testing before the iteration starts. Do not shorten the iteration, add testers, or introduce a requirements traceability matrix.
  2. After a feature is built, team members find that it does not match the expectations in the user story. First write a user-facing acceptance test, and then change the feature according to the test. Do not change it right away, and do not go back to the original requirements document.

Acceptance and objections in the review

At the end of the iteration, the Scrum Team and stakeholders inspect the Increment, which already meets the Definition of Done, and discuss what to adapt next. The Definition of Done determines completion; acceptance criteria check specific functionality and end-user expectations, and the Sprint Review itself is not an acceptance gate. If someone feels a feature has not met expectations, first talk with the stakeholder and determine which case applies. If an item turns out to have missed agreed acceptance criteria (so it should not have counted as done), return it to the Product Backlog for replanning. If the stakeholder is raising a new expectation not covered by those criteria, add or adjust the relevant Product Backlog item, which the product owner orders before implementation is scheduled.

It is not starting a formal change request process (in adaptive environments, assessing and implementing changes runs throughout the project life cycle and is usually managed through the backlog, with continuous impact analysis and prioritization). It is not adding a fix task straight into the current iteration, and it is not adding other stories to "make up for it". In agile, what you adjust is the backlog.

Worked examples

Example 1 A defect missed by testing is found only after coding is complete

Question 1Example

After coding of a module was complete, the team found that testing had not caught several defects. A review showed that no testable acceptance criteria had been defined before work began. To avoid a repeat, what should the agile team do in future?

Show answer and explanation

Correct answer: B

After a module was coded, the team discovered that testing had not found several defects, and that no testable acceptance criteria had been defined before work began. The question asks what should be done in future.

Acceptance criteria make clear what functionality and end-user expectations the feature should fulfill; completion is determined by the Definition of Done. The problem is that the defects were exposed only after coding was complete, and settling the criteria in advance gives coding and testing a common basis. Define testable acceptance criteria before the iteration starts, and then develop and test against them, so defects are less likely to be missed. This is like setting the standard first and then starting work (close to test-driven thinking, but not the same as test-driven development). The answer is B.

Why the other options are wrong

  • A. Shortening the iteration gives earlier feedback, but without acceptance criteria set in advance, coding and testing still have no common basis, and defects can still be missed.
  • C. More people and more test cases do not give coding and testing a common basis. Without acceptance criteria set in advance, coverage of defects is not assured.
  • D. A requirements traceability matrix tracks how requirements correspond to deliverables. It cannot replace testable acceptance criteria and does not solve missed testing.

Key takeaway Set acceptance criteria first, then code and test, so that defects are less likely to be missed.

Variation If the scenario is that, after a feature is built, it turns out not to match the user story's expectations, first write a user-facing acceptance test, and then modify the feature against that test.

Something wrong with this question?

Report an issue with this question

Example 2 In the review, a key stakeholder says the feature does not meet expectations

Question 2Example

At the iteration review, the product owner and key stakeholders inspect 4 user stories the team has completed. One key stakeholder confirms that the order-filtering feature meets the agreed acceptance criteria but raises a new expectation those criteria did not cover. What should the product owner do FIRST?

Show answer and explanation

Correct answer: D

At an iteration review, a key stakeholder confirms that the order-filtering feature meets the agreed acceptance criteria but raises a new expectation those criteria did not cover. What should the product owner do first?

The purpose of the review is to get feedback. When a stakeholder raises a new expectation the criteria did not cover, the first step is to verify the real expectation: talk with the stakeholder to find out what they want added or changed, then rewrite the relevant story accordingly, put it in the product backlog and order it, and only then schedule the implementation. Any action taken before the expectation is clear is guesswork, so the first thing to do is to talk about expectations and rewrite the story. The answer is D.

Why the other options are wrong

  • A. Adding other high-value stories does not respond to this stakeholder's dissatisfaction and does not establish the real expectation.
  • B. Assess and Implement Changes is not limited to predictive projects. Here, first clarify the expectation, refine and adjust the Product Backlog, and continuously analyze impact and priority rather than immediately starting a formal change-request process. If baselines, contracts, or governance requirements are affected, follow the applicable formal change control as well.
  • C. A fix may well be needed, but scheduling it before the expectation is clear does not answer “what first” and may fix the wrong thing.

Key takeaway When there is an objection to the increment at a review: clarify the expectation with the stakeholder first, then rewrite the story and put it in the product backlog.

Variation If the objection comes from the customer and the product owner and the customer disagree about acceptance, handle it on the basis of the agreed acceptance criteria, the definition of done and the contract arrangements, with the product owner deciding how to update and order the product backlog. If the question asks what the outcome of a review is, the answer is feedback and follow-up adaptations, which may lead the product owner to adjust the product backlog and its ordering.

Something wrong with this question?

Report an issue with this question

Common traps

Common trap

  • Do not write words like "friendly", "quickly" or "stable" in acceptance criteria, because they cannot be judged. Change them to numbers or observable behavior.
  • Acceptance criteria are set before development, not added after coding and certainly not raised at the demonstration.
  • The story-level acceptance criteria and the team's general definition of done must both be met. Neither replaces the other.
  • When there is an objection in a review, first clarify the expectation through conversation. Do not immediately change the current iteration, and do not start a formal change request process. You still analyze the impact of the change, and the product owner reorders the backlog.
  • A requirements traceability matrix cannot replace testable acceptance criteria and does not solve missed testing.

Key takeaways

Key point

  • Acceptance criteria are the conditions a story must meet before it is accepted. For a user story, they apply to that story and are the Confirmation in the 3C; more generally they can apply to a deliverable.
  • Write them as conditions that can be judged directly as yes or no, using numbers and observable behavior and no vague words.
  • Setting acceptance criteria before coding and testing is the way to prevent missed testing.
  • Completion is determined by the Definition of Done; in the Sprint Review, the Scrum Team and stakeholders jointly inspect the completed Increment, and the review is not an acceptance gate.
  • When there is an objection to the Increment, first clarify expectations with the stakeholder, then rewrite the story, and order it in the product backlog.

This chapter has 14 questions in the full bank; the questions beyond the worked examples are practiced in the question bank. Practice this chapter.