Scrum Basics - User Stories
Scrum Basics - User Stories
Short, simple descriptions of a feature told from the perspective of the customer
What is a User Story?
From Mike Cohn:
• “User Stories are a part of an Agile approach that helps shift the
focus from writing about requirements to talking about them…”
Source: https://www.mountaingoatsoftware.com/agile/user-stories
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 2
The 3 C’s of User Stories
•CARD
•CONVERSATION
•CONFIRMATION
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 3
The INVEST Model
INVEST is an acronym that captures the ideal qualities of User Stories:
• Negotiable: The User Story can be changed, rewritten, or split (prior to being
committed to a sprint).
• Valuable: The User Story must deliver value to the end user.
• Estimable: The Development Team must be able to estimate the User Story’s size.
• Small: Every User Story has to be sized appropriately to fit into a Sprint.
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 4
What’s the difference between User Stories and Requirements?
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 5
User Story Format
•As a…
[Who? - Insert the User]
•I would like to…
[What? - Insert what they want to do]
•so that…
[Why? – Insert the Business Value]
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 6
Example Stories – Hypothetical Promotion Enrollment:
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 7
Implementation Details vs. Value of Implementation
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 8
Deliver User Stories as Vertical Slices of Functional Product:
Story 1 Story 2
GUI
Database
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 9
User Story descriptions are not enough…
You also need Acceptance Criteria to better describe expected outcomes.
• Suggested format:
– “This story is done when…[insert outcomes, not implementation details]”
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 10
Example Acceptance Criteria – Hypothetical Promotion Enrollment:
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 11
User Stories are not “requirements” nor detailed specs…
• They are intended to be “placeholders for further conversations” – they are not intended to
be fully defined specifications down to detailed minutiae.
– Details of exactly what will be required will be built in collaboration between business and IT.
– Focus on the “why” (outcomes) and not the “how” (implementation details).
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 12
Special Story Type – Spikes
• There are times when you may not know enough to deliver a User Story (incremental value) directly to a customer.
• Use a Spike!
– Be sure that the “so that…” clause clearly identifies what you are going to do with the information once you have it.
– Acceptance Criteria is still necessary.
What is it that you need to know?
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 13
User Stories must fit within the Sprint
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 14
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 15
Do you have an Epic?
• What is an Epic?
– Typically represents a large chunk of work
– Consists of (2) or more User Stories
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 16
Relationships between Epics and User Stories
1..n
2..n
Tasks
1..n
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 17
Definition of Done (DoD)
• Having User Stories and Acceptance Criteria are usually not enough to say a story is releasable.
• Definition of Done:
– Set of activities required for User Stories to be considered complete so that the increment of product functionality can be
“potentially shipped” if desired
• The Development Team and Product Owner (PO) need to come to agreement on DoD before planning the first sprint
– DoD may vary from team to team – that’s OK as long as it’s transparent
– If multiple teams/POs are involved, there needs to be common agreement
– DoD often evolves over time as Dev Teams become more proficient
00 Month 0000 Footer (Edit footer for all slides with View > Header & Footer) 18