SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Mike Cohn
Norwegian Developer’s Conference
6 June 2014
User Stories
© Copyright Mountain Goat Software
®
What problem do stories address?
Software requirements is a communication
problem
Those who want
the software must
communicate with
those who will
build it
1
2
© Copyright Mountain Goat Software
®
Balance is critical
If either side dominates, the business loses
If the business side dominates…
…functionality and dates are mandated with little
regard for reality or whether the developers
understand the requirements
If the developers dominate…
…technical jargon replaces the language
of the business and developers lose the opportunity to
learn from listening
© Copyright Mountain Goat Software
®
Resource allocation
We need a way of
working together so
that resource allocation
becomes a shared
problem
Project fails when the
problem of resource
allocation falls too far to
one side
3
4
© Copyright Mountain Goat Software
®
Responsibility for resource allocation
If developers are responsible…
•May trade quality for additional
features
•May only partially implement a
feature
•May solely make decisions that
should involve the business
If the business is responsible…
•Lengthy upfront requirements
negotiation and signoff
•Features are progressively
dropped as the deadline nears
© Copyright Mountain Goat Software
®
Imperfect schedules
We cannot perfectly predict a software
schedule
As users see the software, they come up with
new ideas
Too many intangibles
Developers have a notoriously hard time
estimating
If we can’t perfectly predict a schedule, we
can’t perfectly say what will be delivered
5
6
© Copyright Mountain Goat Software
®
This is where
user stories
come in
So what do we do?
…but do it often
We make decisions based
on the information we
have
…we spread decision-
making across the project
Rather than making one
all-encompassing set of
decisions
© Copyright Mountain Goat Software
®
Agenda
What stories are
Writing user stories
Why user stories
7
8
© Copyright Mountain Goat Software
®
Three Cs
•Stories are traditionally
written on note cards.
•Cards may be annotated with
estimates, notes, etc.
Card •Details behind the story come
out during conversations with
product owner
Conversation
•Acceptance tests confirm a
story was coded correctly
Confirmation
Source: XP Magazine 8/30/01, Ron Jeffries.
© Copyright Mountain Goat Software
®
As a user, I want to
reserve a hotel room.
As a user, I want to
cancel a reservation.
As a vacation traveler,
I want to see photos of
the hotels.
As a frequent flyer, I
want to rebook a past trip
so that I save time
booking trips I take often.
Samples from a travel website
9
10
© Copyright Mountain Goat Software
®
Where are the details?
As a user, I can cancel a reservation.
Does the user get a full or partial refund?
Is the refund to her credit card or is it site credit?
How far ahead must the reservation be
cancelled?
Is that the same for all hotels?
For all site visitors? Can frequent travelers cancel later?
Is a confirmation provided to the user?
How?
© Copyright Mountain Goat Software
®
Details as conditions of satisfaction
As a user, I can
cancel a reservation.
Verify that a premium member can
cancel the same day without a fee.
Verify that a non-premium member is
charged 10% for a same-day cancellation.
Verify that an email confirmation is sent.
Verify that the hotel is notified of any
cancellation.
• The product owner’s
conditions of satisfaction
can be added to a story
• These are essentially
tests
11
12
© Copyright Mountain Goat Software
®
Details added in smaller sub-stories
As a user, I can
cancel a reservation.
As a site visitor, I am
emailed a confirmation of
any cancelled
reservation.
As a non-premium
member, I can cancel up
to 24 hours in advance.
As a premium site
member, I can cancel a
reservation up to the
last minute.
© Copyright Mountain Goat Software
®
Techniques can be combined
These approaches are not mutually
exclusive
Write stories at an appropriate level
By the time it’s implemented, each story
will have conditions of satisfaction
associated with it
13
14
© Copyright Mountain Goat Software®
The product backlog iceberg
Priority
© Copyright Mountain Goat Software
®
Some additional useful terms
Epic
A large user
story
Theme
A collection of
related user
stories
15
16
© Copyright Mountain Goat Software
®
An example
As a VP Marketing, I want to
select the timeframe to use
when reviewing the
performance of past
promotional campaigns, so
that …
As a VP Marketing, I can
select which type of
campaigns (direct mail, TV,
email, radio, etc.) to include
when reviewing the
performance of past …
As a VP Marketing, I want
to review the performance
of historical promotional
campaigns so that I can
identify and repeat
profitable ones.
Clearly an epic
Epics???
© Copyright Mountain Goat Software
®
As a VP Marketing, I want
to see information on
direct mailings when
reviewing historical
campaigns.
As a VP Marketing, I want
to see information on TV
ads when reviewing
historical campaigns.
As a VP Marketing, I want
to see information on
email ads when reviewing
historical campaigns.
17
18
© Copyright Mountain Goat Software
®
Agenda
What stories are
Writing user stories
Why user stories
© Copyright Mountain Goat Software
®
Logging in
•See how many user stories you can
write about logging in.
•Examples:
•As a registered user, I am required to
log in so that I can access the system.
•As a forgetful user, I can request a
password reminder so that I can log in
if I forget mine.
“As a <user role>,
I <want/need/can/
etc> <goal>
so that <reason>.”
19
20
© Copyright Mountain Goat Software
®
Story-writing workshops
Includes whole team plus possibly some
external stakeholders
Typically not done every sprint
Brainstorm to generate stories
Goal is to write as many stories as possible
Some will be “implementation ready”
Others will be epics
No prioritization at this point
© Copyright Mountain Goat Software
®
Start with epics and iterate
As a frequent
flyer, I want to
book a trip using
miles.
As a frequent
flyer, I want to
rebook a trip I
take often.
As a frequent
flyer, I want to
request an
upgrade.
As a frequent
flyer, I want to
see if my
upgrade cleared.
As a frequent
flyer, I want to
see check my
account.
As a frequent
flyer, I want to
book a trip.
As a frequent
flyer, I want
to…
Frequent Flyer
21
22
© Copyright Mountain Goat Software
®
Agenda
What stories are
Writing user stories
Why user stories
© Copyright Mountain Goat Software
®
So why user stories?
If requirements are
written down
The user will get
what she wants
then
At best she’ll get
what was written“You built what I
asked for, but it’s
not what I need.”
Shift focus from writing to talking
23
24
© Copyright Mountain Goat Software
®
Words are imprecise
Entrée comes
with
soup or salad
and bread. • (Soup or Salad) and Bread
• (Soup) or (Salad and Bread)
Which is right?
© Copyright Mountain Goat Software
®
Examples
The user can enter a
name. It can be 127
characters.
The system should
prominently display a warning
message whenever the user
enters invalid data.
• Must the user enter a
name?
• Can it be other than
127 chars?
• What does should
mean?
• What does prominently
display mean?
• Is invalid data defined
elsewhere?
25
26
© Copyright Mountain Goat Software
®
Additional reasons
Stories are understandable
Developers and customers understand them
People are better able to remember events if
they are organized into stories†
Support and encourage iterative
development
Can easily start with epics and disaggregate
closer to development time
†Bower, Black, and Turner. 1979.
Scripts in Memory for Text.
© Copyright Mountain Goat Software
®
Yet more reasons
Stories are the right size for planning
Stories support opportunistic development
We design solutions by moving
opportunistically between top-down and
bottom-up approaches†
Stories support participatory design
†Guindon. 1990. Designing the Design Process.
27
28
© Copyright Mountain Goat Software
®
What if we had stories instead?
© Copyright Mountain Goat Software
®
Most importantly…
The story text we write on
cards is less important
than the conversations we
have.
Don’t forget the purpose
29
30
© Copyright Mountain Goat Software
®
FrontRowAgile.com
Online
video
training
© Copyright Mountain Goat Software
®
mike@mountaingoatsoftware.com
www.mountaingoatsoftware.com
twitter: mikewcohn
(720) 890-6110
Mike Cohn
31
32

Weitere ähnliche Inhalte

Was ist angesagt?

How to Break the Requirements into User Stories
How to Break the Requirements into User StoriesHow to Break the Requirements into User Stories
How to Break the Requirements into User StoriesShriKant Vashishtha
 
Writing User Stories (04/2012)
Writing User Stories (04/2012)Writing User Stories (04/2012)
Writing User Stories (04/2012)Mai Quay
 
"How to write better User Stories" por @jrhuerta
"How to write better User Stories" por @jrhuerta"How to write better User Stories" por @jrhuerta
"How to write better User Stories" por @jrhuertawebcat
 
User Story Mapping (2008)
User Story Mapping (2008)User Story Mapping (2008)
User Story Mapping (2008)Jeff Patton
 
Story Points Estimation And Planning Poker
Story Points Estimation And Planning PokerStory Points Estimation And Planning Poker
Story Points Estimation And Planning PokerDaniel Toader
 
User Story Maps: Secrets for Better Backlogs and Planning
 User Story Maps: Secrets for Better Backlogs and Planning User Story Maps: Secrets for Better Backlogs and Planning
User Story Maps: Secrets for Better Backlogs and PlanningAaron Sanders
 
Agile stories, estimating and planning
Agile stories, estimating and planningAgile stories, estimating and planning
Agile stories, estimating and planningDimitri Ponomareff
 
Agile User Stories
Agile User StoriesAgile User Stories
Agile User Storieskahgeh75
 
Introducing Agile User Stories
Introducing Agile User StoriesIntroducing Agile User Stories
Introducing Agile User StoriesRam Srivastava
 
SCRUM User Story Life Cycle
SCRUM User Story Life CycleSCRUM User Story Life Cycle
SCRUM User Story Life CycleKristen Varona
 
Strategies to split user stories
Strategies to split user storiesStrategies to split user stories
Strategies to split user storiescpolc
 
Invest In Good User Stories
Invest In Good User StoriesInvest In Good User Stories
Invest In Good User StoriesCraig Brown
 
Agile and user story workshop Peter Saddington
Agile and user story workshop   Peter SaddingtonAgile and user story workshop   Peter Saddington
Agile and user story workshop Peter SaddingtonPeter Saddington
 
User Story Mapping, Discover the whole story
User Story Mapping, Discover the whole storyUser Story Mapping, Discover the whole story
User Story Mapping, Discover the whole storyJeff Patton
 

Was ist angesagt? (20)

User Stories Training
User Stories TrainingUser Stories Training
User Stories Training
 
Effective User Stories
Effective User StoriesEffective User Stories
Effective User Stories
 
User Story
User StoryUser Story
User Story
 
How to Break the Requirements into User Stories
How to Break the Requirements into User StoriesHow to Break the Requirements into User Stories
How to Break the Requirements into User Stories
 
Writing User Stories (04/2012)
Writing User Stories (04/2012)Writing User Stories (04/2012)
Writing User Stories (04/2012)
 
"How to write better User Stories" por @jrhuerta
"How to write better User Stories" por @jrhuerta"How to write better User Stories" por @jrhuerta
"How to write better User Stories" por @jrhuerta
 
User Story Mapping (2008)
User Story Mapping (2008)User Story Mapping (2008)
User Story Mapping (2008)
 
Story Points Estimation And Planning Poker
Story Points Estimation And Planning PokerStory Points Estimation And Planning Poker
Story Points Estimation And Planning Poker
 
User Story Maps: Secrets for Better Backlogs and Planning
 User Story Maps: Secrets for Better Backlogs and Planning User Story Maps: Secrets for Better Backlogs and Planning
User Story Maps: Secrets for Better Backlogs and Planning
 
Agile stories, estimating and planning
Agile stories, estimating and planningAgile stories, estimating and planning
Agile stories, estimating and planning
 
Agile User Stories
Agile User StoriesAgile User Stories
Agile User Stories
 
Introducing Agile User Stories
Introducing Agile User StoriesIntroducing Agile User Stories
Introducing Agile User Stories
 
SCRUM User Story Life Cycle
SCRUM User Story Life CycleSCRUM User Story Life Cycle
SCRUM User Story Life Cycle
 
Strategies to split user stories
Strategies to split user storiesStrategies to split user stories
Strategies to split user stories
 
How to write good user stories
How to write good user storiesHow to write good user stories
How to write good user stories
 
Effective user stories for your agile or Scrum team
Effective user stories for your agile or Scrum teamEffective user stories for your agile or Scrum team
Effective user stories for your agile or Scrum team
 
Invest In Good User Stories
Invest In Good User StoriesInvest In Good User Stories
Invest In Good User Stories
 
Agile and user story workshop Peter Saddington
Agile and user story workshop   Peter SaddingtonAgile and user story workshop   Peter Saddington
Agile and user story workshop Peter Saddington
 
User Story Mapping, Discover the whole story
User Story Mapping, Discover the whole storyUser Story Mapping, Discover the whole story
User Story Mapping, Discover the whole story
 
User Stories explained
User Stories explainedUser Stories explained
User Stories explained
 

Andere mochten auch

Writing GREAT Agile User Stories
Writing GREAT Agile User StoriesWriting GREAT Agile User Stories
Writing GREAT Agile User StoriesAgileDad
 
As user, I hate user stories
As user, I hate user storiesAs user, I hate user stories
As user, I hate user storiesmatteo cavucci
 
Agile User Stories | The complete Review
Agile User Stories | The complete ReviewAgile User Stories | The complete Review
Agile User Stories | The complete ReviewDavid Tzemach
 
User Story Slicing - easy way to split user stories
User Story Slicing - easy way to split user stories  User Story Slicing - easy way to split user stories
User Story Slicing - easy way to split user stories Arto Eskelinen
 
Venture Design Crash Course: UVA iLab (June-2014; Thurs. PM Session)
Venture Design Crash Course: UVA iLab (June-2014; Thurs. PM Session)Venture Design Crash Course: UVA iLab (June-2014; Thurs. PM Session)
Venture Design Crash Course: UVA iLab (June-2014; Thurs. PM Session)Alex Cowan
 
Personas, scenarios, user stories
Personas, scenarios, user storiesPersonas, scenarios, user stories
Personas, scenarios, user storiesInteractionDesign
 
User Stories for your Product Backlog
User Stories for your Product BacklogUser Stories for your Product Backlog
User Stories for your Product Backlogrwirdemann
 
User Story Mapping in Practice
User Story Mapping in PracticeUser Story Mapping in Practice
User Story Mapping in PracticeSteve Rogalsky
 
Creating A Product Backlog
Creating A Product BacklogCreating A Product Backlog
Creating A Product BacklogRussell Pannone
 
Experiencing Agility From Requirements to Planning
Experiencing Agility From Requirements to PlanningExperiencing Agility From Requirements to Planning
Experiencing Agility From Requirements to PlanningMike Cohn
 
Write better user stories, deliver better software
Write better user stories, deliver better softwareWrite better user stories, deliver better software
Write better user stories, deliver better softwareElliot Susel
 
User Story Mapping: Deliverable slice of value
User Story Mapping: Deliverable slice of valueUser Story Mapping: Deliverable slice of value
User Story Mapping: Deliverable slice of valueAngie Doyle
 
Writing Good User Stories (Hint: It's not about writing)
Writing Good User Stories (Hint: It's not about writing)Writing Good User Stories (Hint: It's not about writing)
Writing Good User Stories (Hint: It's not about writing)one80
 
User stories
User storiesUser stories
User storiesudairaj
 

Andere mochten auch (18)

Writing GREAT Agile User Stories
Writing GREAT Agile User StoriesWriting GREAT Agile User Stories
Writing GREAT Agile User Stories
 
As user, I hate user stories
As user, I hate user storiesAs user, I hate user stories
As user, I hate user stories
 
Agile User Stories | The complete Review
Agile User Stories | The complete ReviewAgile User Stories | The complete Review
Agile User Stories | The complete Review
 
User Story Slicing - easy way to split user stories
User Story Slicing - easy way to split user stories  User Story Slicing - easy way to split user stories
User Story Slicing - easy way to split user stories
 
User Stories
User StoriesUser Stories
User Stories
 
Venture Design Crash Course: UVA iLab (June-2014; Thurs. PM Session)
Venture Design Crash Course: UVA iLab (June-2014; Thurs. PM Session)Venture Design Crash Course: UVA iLab (June-2014; Thurs. PM Session)
Venture Design Crash Course: UVA iLab (June-2014; Thurs. PM Session)
 
Personas, scenarios, user stories
Personas, scenarios, user storiesPersonas, scenarios, user stories
Personas, scenarios, user stories
 
User Stories for your Product Backlog
User Stories for your Product BacklogUser Stories for your Product Backlog
User Stories for your Product Backlog
 
User Story Mapping in Practice
User Story Mapping in PracticeUser Story Mapping in Practice
User Story Mapping in Practice
 
Creating A Product Backlog
Creating A Product BacklogCreating A Product Backlog
Creating A Product Backlog
 
Experiencing Agility From Requirements to Planning
Experiencing Agility From Requirements to PlanningExperiencing Agility From Requirements to Planning
Experiencing Agility From Requirements to Planning
 
Write better user stories, deliver better software
Write better user stories, deliver better softwareWrite better user stories, deliver better software
Write better user stories, deliver better software
 
User Story Mapping: Deliverable slice of value
User Story Mapping: Deliverable slice of valueUser Story Mapping: Deliverable slice of value
User Story Mapping: Deliverable slice of value
 
Agile Management Tools
Agile Management ToolsAgile Management Tools
Agile Management Tools
 
Effective story slicing
Effective story slicingEffective story slicing
Effective story slicing
 
Writing Good User Stories (Hint: It's not about writing)
Writing Good User Stories (Hint: It's not about writing)Writing Good User Stories (Hint: It's not about writing)
Writing Good User Stories (Hint: It's not about writing)
 
User stories
User storiesUser stories
User stories
 
Better user stories
Better user storiesBetter user stories
Better user stories
 

Ähnlich wie User Stories: Communication and Iteration

User Stories
User Stories User Stories
User Stories Mike Cohn
 
Becoming an Effective Product Owner
Becoming an Effective Product OwnerBecoming an Effective Product Owner
Becoming an Effective Product OwnerMike Cohn
 
Mobile Monetization
Mobile MonetizationMobile Monetization
Mobile Monetizationnpobbathi
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanAgile Testing Alliance
 
WW Tip Sheet- Industry Tips and Tricks from Concur
WW Tip Sheet- Industry Tips and Tricks from ConcurWW Tip Sheet- Industry Tips and Tricks from Concur
WW Tip Sheet- Industry Tips and Tricks from ConcurBrian Conner
 
Using Analytics to Influence Change
Using Analytics to Influence ChangeUsing Analytics to Influence Change
Using Analytics to Influence ChangeChristopher Au
 
Increase sales with e commerce chat on your commercial website
Increase sales with e commerce chat on your commercial websiteIncrease sales with e commerce chat on your commercial website
Increase sales with e commerce chat on your commercial websiteAndolasoft Inc
 
UX for Mobile in the Enterprise
UX for Mobile in the EnterpriseUX for Mobile in the Enterprise
UX for Mobile in the EnterpriseRoss Belmont
 
How to optimize your website for mobile devices and multiple browsers
How to optimize your website for mobile devices and multiple browsersHow to optimize your website for mobile devices and multiple browsers
How to optimize your website for mobile devices and multiple browsersFred Dilkes
 
Know and Delight Your Users: UX Analytics
Know and Delight Your Users: UX AnalyticsKnow and Delight Your Users: UX Analytics
Know and Delight Your Users: UX AnalyticsCemal Buyukgokcesu
 
"Mobile Apps, beyond downloads, what’s next?" by Philippe Dumont
"Mobile Apps, beyond downloads, what’s next?" by Philippe Dumont"Mobile Apps, beyond downloads, what’s next?" by Philippe Dumont
"Mobile Apps, beyond downloads, what’s next?" by Philippe DumontTheFamily
 
Final presentation
Final presentationFinal presentation
Final presentationBrandon Hill
 
Revisit the Strategies to Make Money with Free Apps.pdf
Revisit the Strategies to Make Money with Free Apps.pdfRevisit the Strategies to Make Money with Free Apps.pdf
Revisit the Strategies to Make Money with Free Apps.pdfTechugo
 
Why most websites fail and how you can make sure yours doesn't| Gareth Dunlop...
Why most websites fail and how you can make sure yours doesn't| Gareth Dunlop...Why most websites fail and how you can make sure yours doesn't| Gareth Dunlop...
Why most websites fail and how you can make sure yours doesn't| Gareth Dunlop...Enterprise Ireland
 
PMI-ACP Lesson 03 Nugget 1 Agile Planning, Monitoring and Adopting
PMI-ACP Lesson 03 Nugget 1 Agile Planning, Monitoring and AdoptingPMI-ACP Lesson 03 Nugget 1 Agile Planning, Monitoring and Adopting
PMI-ACP Lesson 03 Nugget 1 Agile Planning, Monitoring and AdoptingThanh Nguyen
 
Conversion Rate Optimization Workshop
Conversion Rate Optimization WorkshopConversion Rate Optimization Workshop
Conversion Rate Optimization WorkshopDigi Mark
 
How to price your mobile app
How to price your mobile appHow to price your mobile app
How to price your mobile appappbot
 

Ähnlich wie User Stories: Communication and Iteration (20)

User Stories
User Stories User Stories
User Stories
 
Becoming an Effective Product Owner
Becoming an Effective Product OwnerBecoming an Effective Product Owner
Becoming an Effective Product Owner
 
Mobile Monetization
Mobile MonetizationMobile Monetization
Mobile Monetization
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh Varadharajan
 
WW Tip Sheet- Industry Tips and Tricks from Concur
WW Tip Sheet- Industry Tips and Tricks from ConcurWW Tip Sheet- Industry Tips and Tricks from Concur
WW Tip Sheet- Industry Tips and Tricks from Concur
 
Using Analytics to Influence Change
Using Analytics to Influence ChangeUsing Analytics to Influence Change
Using Analytics to Influence Change
 
Increase sales with e commerce chat on your commercial website
Increase sales with e commerce chat on your commercial websiteIncrease sales with e commerce chat on your commercial website
Increase sales with e commerce chat on your commercial website
 
UX for Mobile in the Enterprise
UX for Mobile in the EnterpriseUX for Mobile in the Enterprise
UX for Mobile in the Enterprise
 
How to optimize your website for mobile devices and multiple browsers
How to optimize your website for mobile devices and multiple browsersHow to optimize your website for mobile devices and multiple browsers
How to optimize your website for mobile devices and multiple browsers
 
Know and Delight Your Users: UX Analytics
Know and Delight Your Users: UX AnalyticsKnow and Delight Your Users: UX Analytics
Know and Delight Your Users: UX Analytics
 
"Mobile Apps, beyond downloads, what’s next?" by Philippe Dumont
"Mobile Apps, beyond downloads, what’s next?" by Philippe Dumont"Mobile Apps, beyond downloads, what’s next?" by Philippe Dumont
"Mobile Apps, beyond downloads, what’s next?" by Philippe Dumont
 
Final presentation
Final presentationFinal presentation
Final presentation
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
 
Revisit the Strategies to Make Money with Free Apps.pdf
Revisit the Strategies to Make Money with Free Apps.pdfRevisit the Strategies to Make Money with Free Apps.pdf
Revisit the Strategies to Make Money with Free Apps.pdf
 
Why most websites fail and how you can make sure yours doesn't| Gareth Dunlop...
Why most websites fail and how you can make sure yours doesn't| Gareth Dunlop...Why most websites fail and how you can make sure yours doesn't| Gareth Dunlop...
Why most websites fail and how you can make sure yours doesn't| Gareth Dunlop...
 
PMI-ACP Lesson 03 Nugget 1 Agile Planning, Monitoring and Adopting
PMI-ACP Lesson 03 Nugget 1 Agile Planning, Monitoring and AdoptingPMI-ACP Lesson 03 Nugget 1 Agile Planning, Monitoring and Adopting
PMI-ACP Lesson 03 Nugget 1 Agile Planning, Monitoring and Adopting
 
Customer Journey Mapping
Customer Journey MappingCustomer Journey Mapping
Customer Journey Mapping
 
Conversion Rate Optimization Workshop
Conversion Rate Optimization WorkshopConversion Rate Optimization Workshop
Conversion Rate Optimization Workshop
 
How to price your mobile app
How to price your mobile appHow to price your mobile app
How to price your mobile app
 

Mehr von Mike Cohn

Agile Estimating - NDC 2014
Agile Estimating - NDC 2014Agile Estimating - NDC 2014
Agile Estimating - NDC 2014Mike Cohn
 
Advanced Agile Planning - NDC 2014
Advanced Agile Planning - NDC 2014Advanced Agile Planning - NDC 2014
Advanced Agile Planning - NDC 2014Mike Cohn
 
Leading Self Organizing Teams - NDC 2014
Leading Self Organizing Teams - NDC 2014Leading Self Organizing Teams - NDC 2014
Leading Self Organizing Teams - NDC 2014Mike Cohn
 
Getting Agile with Srum
Getting Agile with SrumGetting Agile with Srum
Getting Agile with SrumMike Cohn
 
Advanced Agile Planning
Advanced Agile PlanningAdvanced Agile Planning
Advanced Agile PlanningMike Cohn
 
Agile Estimating
Agile EstimatingAgile Estimating
Agile EstimatingMike Cohn
 
Getting Agile with Srum
Getting Agile with SrumGetting Agile with Srum
Getting Agile with SrumMike Cohn
 
Scaling Agile and Working with a Distributed Team
Scaling Agile and Working with a Distributed TeamScaling Agile and Working with a Distributed Team
Scaling Agile and Working with a Distributed TeamMike Cohn
 
Agile planning and project management
Agile planning and project managementAgile planning and project management
Agile planning and project managementMike Cohn
 
Scrum: Leading a Self-Organizing Team
Scrum: Leading a Self-Organizing TeamScrum: Leading a Self-Organizing Team
Scrum: Leading a Self-Organizing TeamMike Cohn
 
ADAPTing to Agile Development
ADAPTing to Agile DevelopmentADAPTing to Agile Development
ADAPTing to Agile DevelopmentMike Cohn
 
ADAPTing to Agile for Continued Success
ADAPTing to Agile for Continued SuccessADAPTing to Agile for Continued Success
ADAPTing to Agile for Continued SuccessMike Cohn
 
ADAPTing to Enterprise Agile
ADAPTing to Enterprise AgileADAPTing to Enterprise Agile
ADAPTing to Enterprise AgileMike Cohn
 
Advanced Topics in Agile Planning
Advanced Topics in Agile PlanningAdvanced Topics in Agile Planning
Advanced Topics in Agile PlanningMike Cohn
 
Agile and Scrum for Video Game Development
Agile and Scrum for Video Game DevelopmentAgile and Scrum for Video Game Development
Agile and Scrum for Video Game DevelopmentMike Cohn
 
Agile and the Seven Sins of Project Management
Agile and the Seven Sins of Project ManagementAgile and the Seven Sins of Project Management
Agile and the Seven Sins of Project ManagementMike Cohn
 
Agile Estimating
Agile EstimatingAgile Estimating
Agile EstimatingMike Cohn
 
Agile Product Management
Agile Product ManagementAgile Product Management
Agile Product ManagementMike Cohn
 
Getting Agile with Scrum
Getting Agile with ScrumGetting Agile with Scrum
Getting Agile with ScrumMike Cohn
 
Assessing Your Agility: Introducing the Comparative Agility Assessment
Assessing Your Agility: Introducing the Comparative Agility AssessmentAssessing Your Agility: Introducing the Comparative Agility Assessment
Assessing Your Agility: Introducing the Comparative Agility AssessmentMike Cohn
 

Mehr von Mike Cohn (20)

Agile Estimating - NDC 2014
Agile Estimating - NDC 2014Agile Estimating - NDC 2014
Agile Estimating - NDC 2014
 
Advanced Agile Planning - NDC 2014
Advanced Agile Planning - NDC 2014Advanced Agile Planning - NDC 2014
Advanced Agile Planning - NDC 2014
 
Leading Self Organizing Teams - NDC 2014
Leading Self Organizing Teams - NDC 2014Leading Self Organizing Teams - NDC 2014
Leading Self Organizing Teams - NDC 2014
 
Getting Agile with Srum
Getting Agile with SrumGetting Agile with Srum
Getting Agile with Srum
 
Advanced Agile Planning
Advanced Agile PlanningAdvanced Agile Planning
Advanced Agile Planning
 
Agile Estimating
Agile EstimatingAgile Estimating
Agile Estimating
 
Getting Agile with Srum
Getting Agile with SrumGetting Agile with Srum
Getting Agile with Srum
 
Scaling Agile and Working with a Distributed Team
Scaling Agile and Working with a Distributed TeamScaling Agile and Working with a Distributed Team
Scaling Agile and Working with a Distributed Team
 
Agile planning and project management
Agile planning and project managementAgile planning and project management
Agile planning and project management
 
Scrum: Leading a Self-Organizing Team
Scrum: Leading a Self-Organizing TeamScrum: Leading a Self-Organizing Team
Scrum: Leading a Self-Organizing Team
 
ADAPTing to Agile Development
ADAPTing to Agile DevelopmentADAPTing to Agile Development
ADAPTing to Agile Development
 
ADAPTing to Agile for Continued Success
ADAPTing to Agile for Continued SuccessADAPTing to Agile for Continued Success
ADAPTing to Agile for Continued Success
 
ADAPTing to Enterprise Agile
ADAPTing to Enterprise AgileADAPTing to Enterprise Agile
ADAPTing to Enterprise Agile
 
Advanced Topics in Agile Planning
Advanced Topics in Agile PlanningAdvanced Topics in Agile Planning
Advanced Topics in Agile Planning
 
Agile and Scrum for Video Game Development
Agile and Scrum for Video Game DevelopmentAgile and Scrum for Video Game Development
Agile and Scrum for Video Game Development
 
Agile and the Seven Sins of Project Management
Agile and the Seven Sins of Project ManagementAgile and the Seven Sins of Project Management
Agile and the Seven Sins of Project Management
 
Agile Estimating
Agile EstimatingAgile Estimating
Agile Estimating
 
Agile Product Management
Agile Product ManagementAgile Product Management
Agile Product Management
 
Getting Agile with Scrum
Getting Agile with ScrumGetting Agile with Scrum
Getting Agile with Scrum
 
Assessing Your Agility: Introducing the Comparative Agility Assessment
Assessing Your Agility: Introducing the Comparative Agility AssessmentAssessing Your Agility: Introducing the Comparative Agility Assessment
Assessing Your Agility: Introducing the Comparative Agility Assessment
 

Kürzlich hochgeladen

How to Conduct a Service Gap Analysis for Your Business
How to Conduct a Service Gap Analysis for Your BusinessHow to Conduct a Service Gap Analysis for Your Business
How to Conduct a Service Gap Analysis for Your BusinessHelp Desk Migration
 
Welding Electrode Making Machine By Deccan Dynamics
Welding Electrode Making Machine By Deccan DynamicsWelding Electrode Making Machine By Deccan Dynamics
Welding Electrode Making Machine By Deccan DynamicsIndiaMART InterMESH Limited
 
Interoperability and ecosystems: Assembling the industrial metaverse
Interoperability and ecosystems:  Assembling the industrial metaverseInteroperability and ecosystems:  Assembling the industrial metaverse
Interoperability and ecosystems: Assembling the industrial metaverseSiemens
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxappkodes
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers referencessuser2c065e
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
Neha Jhalani Hiranandani: A Guide to Her Life and Career
Neha Jhalani Hiranandani: A Guide to Her Life and CareerNeha Jhalani Hiranandani: A Guide to Her Life and Career
Neha Jhalani Hiranandani: A Guide to Her Life and Careerr98588472
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024Adnet Communications
 
Lessons from Shanavas M.P. (AKA SHAN) For The Mastering in Entrepreneurship
Lessons from Shanavas M.P. (AKA SHAN) For The Mastering in EntrepreneurshipLessons from Shanavas M.P. (AKA SHAN) For The Mastering in Entrepreneurship
Lessons from Shanavas M.P. (AKA SHAN) For The Mastering in EntrepreneurshipDoge Mining Website
 
Darshan Hiranandani (Son of Niranjan Hiranandani).pdf
Darshan Hiranandani (Son of Niranjan Hiranandani).pdfDarshan Hiranandani (Son of Niranjan Hiranandani).pdf
Darshan Hiranandani (Son of Niranjan Hiranandani).pdfShashank Mehta
 
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...SOFTTECHHUB
 
Implementing Exponential Accelerators.pptx
Implementing Exponential Accelerators.pptxImplementing Exponential Accelerators.pptx
Implementing Exponential Accelerators.pptxRich Reba
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreNZSG
 
MEP Plans in Construction of Building and Industrial Projects 2024
MEP Plans in Construction of Building and Industrial Projects 2024MEP Plans in Construction of Building and Industrial Projects 2024
MEP Plans in Construction of Building and Industrial Projects 2024Chandresh Chudasama
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdfMintel Group
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterJamesConcepcion7
 
Send Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSendBig4
 
Data Analytics Strategy Toolkit and Templates
Data Analytics Strategy Toolkit and TemplatesData Analytics Strategy Toolkit and Templates
Data Analytics Strategy Toolkit and TemplatesAurelien Domont, MBA
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfJamesConcepcion7
 

Kürzlich hochgeladen (20)

How to Conduct a Service Gap Analysis for Your Business
How to Conduct a Service Gap Analysis for Your BusinessHow to Conduct a Service Gap Analysis for Your Business
How to Conduct a Service Gap Analysis for Your Business
 
Welding Electrode Making Machine By Deccan Dynamics
Welding Electrode Making Machine By Deccan DynamicsWelding Electrode Making Machine By Deccan Dynamics
Welding Electrode Making Machine By Deccan Dynamics
 
Interoperability and ecosystems: Assembling the industrial metaverse
Interoperability and ecosystems:  Assembling the industrial metaverseInteroperability and ecosystems:  Assembling the industrial metaverse
Interoperability and ecosystems: Assembling the industrial metaverse
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptx
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers reference
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
Neha Jhalani Hiranandani: A Guide to Her Life and Career
Neha Jhalani Hiranandani: A Guide to Her Life and CareerNeha Jhalani Hiranandani: A Guide to Her Life and Career
Neha Jhalani Hiranandani: A Guide to Her Life and Career
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024
 
Lessons from Shanavas M.P. (AKA SHAN) For The Mastering in Entrepreneurship
Lessons from Shanavas M.P. (AKA SHAN) For The Mastering in EntrepreneurshipLessons from Shanavas M.P. (AKA SHAN) For The Mastering in Entrepreneurship
Lessons from Shanavas M.P. (AKA SHAN) For The Mastering in Entrepreneurship
 
Darshan Hiranandani (Son of Niranjan Hiranandani).pdf
Darshan Hiranandani (Son of Niranjan Hiranandani).pdfDarshan Hiranandani (Son of Niranjan Hiranandani).pdf
Darshan Hiranandani (Son of Niranjan Hiranandani).pdf
 
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
 
Implementing Exponential Accelerators.pptx
Implementing Exponential Accelerators.pptxImplementing Exponential Accelerators.pptx
Implementing Exponential Accelerators.pptx
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource Centre
 
MEP Plans in Construction of Building and Industrial Projects 2024
MEP Plans in Construction of Building and Industrial Projects 2024MEP Plans in Construction of Building and Industrial Projects 2024
MEP Plans in Construction of Building and Industrial Projects 2024
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare Newsletter
 
Send Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.com
 
Data Analytics Strategy Toolkit and Templates
Data Analytics Strategy Toolkit and TemplatesData Analytics Strategy Toolkit and Templates
Data Analytics Strategy Toolkit and Templates
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdf
 

User Stories: Communication and Iteration

  • 1. Mike Cohn Norwegian Developer’s Conference 6 June 2014 User Stories © Copyright Mountain Goat Software ® What problem do stories address? Software requirements is a communication problem Those who want the software must communicate with those who will build it 1 2
  • 2. © Copyright Mountain Goat Software ® Balance is critical If either side dominates, the business loses If the business side dominates… …functionality and dates are mandated with little regard for reality or whether the developers understand the requirements If the developers dominate… …technical jargon replaces the language of the business and developers lose the opportunity to learn from listening © Copyright Mountain Goat Software ® Resource allocation We need a way of working together so that resource allocation becomes a shared problem Project fails when the problem of resource allocation falls too far to one side 3 4
  • 3. © Copyright Mountain Goat Software ® Responsibility for resource allocation If developers are responsible… •May trade quality for additional features •May only partially implement a feature •May solely make decisions that should involve the business If the business is responsible… •Lengthy upfront requirements negotiation and signoff •Features are progressively dropped as the deadline nears © Copyright Mountain Goat Software ® Imperfect schedules We cannot perfectly predict a software schedule As users see the software, they come up with new ideas Too many intangibles Developers have a notoriously hard time estimating If we can’t perfectly predict a schedule, we can’t perfectly say what will be delivered 5 6
  • 4. © Copyright Mountain Goat Software ® This is where user stories come in So what do we do? …but do it often We make decisions based on the information we have …we spread decision- making across the project Rather than making one all-encompassing set of decisions © Copyright Mountain Goat Software ® Agenda What stories are Writing user stories Why user stories 7 8
  • 5. © Copyright Mountain Goat Software ® Three Cs •Stories are traditionally written on note cards. •Cards may be annotated with estimates, notes, etc. Card •Details behind the story come out during conversations with product owner Conversation •Acceptance tests confirm a story was coded correctly Confirmation Source: XP Magazine 8/30/01, Ron Jeffries. © Copyright Mountain Goat Software ® As a user, I want to reserve a hotel room. As a user, I want to cancel a reservation. As a vacation traveler, I want to see photos of the hotels. As a frequent flyer, I want to rebook a past trip so that I save time booking trips I take often. Samples from a travel website 9 10
  • 6. © Copyright Mountain Goat Software ® Where are the details? As a user, I can cancel a reservation. Does the user get a full or partial refund? Is the refund to her credit card or is it site credit? How far ahead must the reservation be cancelled? Is that the same for all hotels? For all site visitors? Can frequent travelers cancel later? Is a confirmation provided to the user? How? © Copyright Mountain Goat Software ® Details as conditions of satisfaction As a user, I can cancel a reservation. Verify that a premium member can cancel the same day without a fee. Verify that a non-premium member is charged 10% for a same-day cancellation. Verify that an email confirmation is sent. Verify that the hotel is notified of any cancellation. • The product owner’s conditions of satisfaction can be added to a story • These are essentially tests 11 12
  • 7. © Copyright Mountain Goat Software ® Details added in smaller sub-stories As a user, I can cancel a reservation. As a site visitor, I am emailed a confirmation of any cancelled reservation. As a non-premium member, I can cancel up to 24 hours in advance. As a premium site member, I can cancel a reservation up to the last minute. © Copyright Mountain Goat Software ® Techniques can be combined These approaches are not mutually exclusive Write stories at an appropriate level By the time it’s implemented, each story will have conditions of satisfaction associated with it 13 14
  • 8. © Copyright Mountain Goat Software® The product backlog iceberg Priority © Copyright Mountain Goat Software ® Some additional useful terms Epic A large user story Theme A collection of related user stories 15 16
  • 9. © Copyright Mountain Goat Software ® An example As a VP Marketing, I want to select the timeframe to use when reviewing the performance of past promotional campaigns, so that … As a VP Marketing, I can select which type of campaigns (direct mail, TV, email, radio, etc.) to include when reviewing the performance of past … As a VP Marketing, I want to review the performance of historical promotional campaigns so that I can identify and repeat profitable ones. Clearly an epic Epics??? © Copyright Mountain Goat Software ® As a VP Marketing, I want to see information on direct mailings when reviewing historical campaigns. As a VP Marketing, I want to see information on TV ads when reviewing historical campaigns. As a VP Marketing, I want to see information on email ads when reviewing historical campaigns. 17 18
  • 10. © Copyright Mountain Goat Software ® Agenda What stories are Writing user stories Why user stories © Copyright Mountain Goat Software ® Logging in •See how many user stories you can write about logging in. •Examples: •As a registered user, I am required to log in so that I can access the system. •As a forgetful user, I can request a password reminder so that I can log in if I forget mine. “As a <user role>, I <want/need/can/ etc> <goal> so that <reason>.” 19 20
  • 11. © Copyright Mountain Goat Software ® Story-writing workshops Includes whole team plus possibly some external stakeholders Typically not done every sprint Brainstorm to generate stories Goal is to write as many stories as possible Some will be “implementation ready” Others will be epics No prioritization at this point © Copyright Mountain Goat Software ® Start with epics and iterate As a frequent flyer, I want to book a trip using miles. As a frequent flyer, I want to rebook a trip I take often. As a frequent flyer, I want to request an upgrade. As a frequent flyer, I want to see if my upgrade cleared. As a frequent flyer, I want to see check my account. As a frequent flyer, I want to book a trip. As a frequent flyer, I want to… Frequent Flyer 21 22
  • 12. © Copyright Mountain Goat Software ® Agenda What stories are Writing user stories Why user stories © Copyright Mountain Goat Software ® So why user stories? If requirements are written down The user will get what she wants then At best she’ll get what was written“You built what I asked for, but it’s not what I need.” Shift focus from writing to talking 23 24
  • 13. © Copyright Mountain Goat Software ® Words are imprecise Entrée comes with soup or salad and bread. • (Soup or Salad) and Bread • (Soup) or (Salad and Bread) Which is right? © Copyright Mountain Goat Software ® Examples The user can enter a name. It can be 127 characters. The system should prominently display a warning message whenever the user enters invalid data. • Must the user enter a name? • Can it be other than 127 chars? • What does should mean? • What does prominently display mean? • Is invalid data defined elsewhere? 25 26
  • 14. © Copyright Mountain Goat Software ® Additional reasons Stories are understandable Developers and customers understand them People are better able to remember events if they are organized into stories† Support and encourage iterative development Can easily start with epics and disaggregate closer to development time †Bower, Black, and Turner. 1979. Scripts in Memory for Text. © Copyright Mountain Goat Software ® Yet more reasons Stories are the right size for planning Stories support opportunistic development We design solutions by moving opportunistically between top-down and bottom-up approaches† Stories support participatory design †Guindon. 1990. Designing the Design Process. 27 28
  • 15. © Copyright Mountain Goat Software ® What if we had stories instead? © Copyright Mountain Goat Software ® Most importantly… The story text we write on cards is less important than the conversations we have. Don’t forget the purpose 29 30
  • 16. © Copyright Mountain Goat Software ® FrontRowAgile.com Online video training © Copyright Mountain Goat Software ® mike@mountaingoatsoftware.com www.mountaingoatsoftware.com twitter: mikewcohn (720) 890-6110 Mike Cohn 31 32