Agile Estimating and Planning Using Scrum

Preview:

DESCRIPTION

This presentation contracts the more traditional ways of planning and estimating projects with Agile/Scrum practices.

Citation preview

Agile Estimating and Planning Using Scrum

Tommy NormanSystems Architect / Certified Scrum Master

Agenda1. Introductions

2. Traditional Techniques

3. Research & Statistics

4. Scrum in 5 Minutes

5. Agile Estimation

6. Agile Planning Using Scrum

7. Q & A

2

3

Introductions

Tommy Norman

4

Email: tommy.norman@compuware.com

Blog: www.tommynorman.com

Systems Architect / Agile Coach,Compuware Corporation

Certified Scrum Master/Practitioner, Agile Alliance

MVP Team System, Microsoft

There is no Santa Claus.

The Easter Bunny is dead.

Agile is not a silver bullet.

6

Traditional Techniques

Analysis Design Develop Test Deploy

Traditional “Waterfall” SDLC

8

How do we currently plan and estimate a traditional software

development project?

Business Owner

9

Business Case

Stakeholders &Experts

Project Manager

10

Business Case

Project Charter

11

Business Case

Project Charter

Milestones

Business Owner

Project Plan

12

Business Case

Project Charter

Project Plan

13

Business Case

Project Charter

Project Plan

10 days?

7 days?

Project Manager

Experts

14

Business Case

Project Charter

Project Plan

Project Manager

Not an Expert

Expert

15

Business Case

Project Charter

Project Plan

10 days?

25Days!

Business Analyst

Business Case

Project Charter

Project Plan

Requirements

Users & Experts

Business Case

Project Charter

Project Plan

Requirements

Architecture & Design

Architects & Designers

Business Case

Project Charter

Project Plan

Requirements

Architecture & Design

19

Does this process work?

20

What are the benefits of this

process?

21

What are the issues with this

process?

22

Research & Statistics

Simula Research

23

IEEE Xplore

24

25

“On average, about 70% of all IT-related projects fail to meet

their objectives.”-Bob Lewis (2003?)

Estimation Granularity

26

Estimation Granularity

27

EpicTheme

Feature UserStory

Estimation Over Time

28

Estimating Time Boxes

29

Expert Estimation

30

Expert

n hrs.

n hrs.+

30%

Magic Eight Ball

32

Scrum in 5 Minutes

Roles

Product Owner Scrum Master Scrum Team

Stakeholders & Users

Artifacts

Product Backlog Release PlanProduct Vision

Sprint BacklogSprint

Burndown Impediment List

Process

36

AgileEstimating

ProductBacklog

User Stories

Prioritized by Value

Estimated by the Team

Product Owner

Technical Requirements

Bugs

User Stories As a (role) I want

(something) so that

(benefit).

“As a registered user I want to be able to search the online catalog so that I can find items to purchase.”

How to Demo1. Open Search page.2. Enter multiple keywords.3. Initiate search.4. View results of catalog items

that contain one or more of the keywords in their title or description.

Test Cases1. Quoted strings used for

exact matching.2. Test operators AND, OR, +,

and -.3. Results come back in under

5 seconds.4. Try invalid characters.

User StorySearch Catalog

As a registered user I want the ability to search the online catalog so that I can find items to purchase.

Business Value: 600 Story Points: 8

User StoryHow to Demo1. Open search page.2. Enter multiple search criteria.3. Initiate search.4. View results of catalog items that contain one or more of

the keywords in their title or description

Tests• Quoted strings used for exact matching.• Test operators AND, OR, +, and -.• Results come back in under 5 seconds.• Try invalid characters.

Search Catalog

As a registered user I want the ability to search the online catalog so that I can find items to purchase.

Business Value: 600

Enter Catalog Items

As a role I want this ability for this business value.

Business Value: 600

Login

As a role I want this ability for this business value.

Business Value: 700

Register New User

As a role I want this ability for this business value.

Business Value: 900

Story Wall

Zoo PointsLionKangarooRhinocerosBearGiraffeGorillaHippopotamusTiger

Story Points

Relative Values

Size not Duration

Additive

Work Best in Iterations

Story Points

Story Points

1 2 3 5 8

13 20 40 100 ?

Story Points

Search Catalog

As a registered user I want the ability to search the online catalog so that I can find items to purchase.

Business Value: 600

Enter Catalog Items

As a role I want this ability for this business value.

Business Value: 600

Login

As a role I want this ability for this business value.

Business Value: 700

Register New User

As a role I want this ability for this business value.

Business Value: 900

52 8 10

Planning Poker

Planning Poker

Planning Poker

3 5

?

5

13

Planning Poker

Planning Poker

3 5

5

3

55

56

Agile Planning with Scrum

Scrum is Iterative

“Planning is essential, the plan is useless.”

Prioritizing the Product Backlog

Search Catalog

As a registered user I want the ability to search the online catalog so that I can find items to purchase.

Business Value: 600 Story Points: 8

Enter Catalog Items

As a role I want this ability for this business value.

Business Value: 600 Story Points: 5

Login

As a role I want this ability for this business value.

Business Value: 700 Story Points: 3

Register New User

As a role I want this ability for this business value.

Business Value: 900 Story Points: 3

Business Value Business Priority

Guided SearchAs an online shopper I want to be able to filter my search results by category, price range, and manufacture to further reduce my search results to better find my desired items.

Business Value: 800 Story Points: 8

Suggested ItemsAs a frequent shopper I want to see suggested items that have relevance to the item I am viewing to find other items I may be interested in but have not seen in the catalog.

Business Value: 600 Story Points: 2

Business Value: 800Story Points: 8-----------------------------ROI: 100

Business Value: 600Story Points: 2-----------------------------ROI: 300

61

900

500

100

Product A

Product B

Product C

62

EnterpriseProduct Backlog

Product A

Product B

Product C

Release Planning

Initial Velocity Calculation

Scrum Team: 4

Sprint (wks): 3

Work Days: 45

Factor: 1/3

Velocity: ~14

Release Planning

3

2

3

1

3

2

5

8

3

3

3

3

Product Backlog

Sprint 1

Sprint 2

Sprint 3

Sprint 4

Sprint 5

Release 1

Release 2

Yesterday’s Weather

Sprints

Vel

ocity

14 16 1418

1520

Yesterday’s Weather

Sprints

Vel

ocity

14 16 1418

152014

Yesterday’s Weather

Sprints

Vel

ocity

14 16 1418

152018

Best C

ase Scenario

Wor

st C

ase

Sce

nario

Release Planning

3

2

3

1

3

2

5

8

3

3

3

3

Product Backlog

Sprint 1

Sprint 2

Sprint 3

Sprint 4

Sprint 5

Sprint 1

Sprint 2

Sprint 3

Sprint Planning

Sprint Planning

Product Owner Product Backlog

Scrum Team Sprint Backlog

Sprint Planning

3

2

3

1

3

2

5

8

3

3

3

3

Product Backlog

Sprint 1

Velocity

9 Story Points

Sprint PlanningVelocity

9 Story Points

-2 Story Points

7 Story Points

Sprint PlanningSearch Catalog: 3As a Catalog Customer I want the ability to search the online catalog to find items I am interested in purchasing.

Sprint PlanningSearch Catalog: 3As a Catalog Customer I want the ability to search the online catalog to find items I am interested in purchasing.

Create Search Page: 8hrs

Create Query class: 4hrs

Create Search Manager class: 2hrs

Create Search method: 8hrs

Keeping a Sustainable Pace

Keeping a Sustainable Pace

Sprint

Sprint (Daily Scrum)

Scrum Master Scrum Team

Sprint BacklogSprint

Burndown

ImpedimentList

Sprint Task BoardNot Done In Progress Done DeferredUser Stories

As a user I want this to do that.

As a user I want this to do that.

As a user I want this to do that.

Do this and that.

Do this and that.

Do this and that.

Do this and that.

Do this and that.

Do this and that.

Do this and that.

Do this and that.

Do this and that.

Time

Wor

k H

ours

R

emai

ning

350 hrs.

0 hrs.

Sprint Burndown Chart

This is a sticky note.

This is a sticky note.

Sprint Retrospective

Sprint Retrospective

Product Owner

Scrum TeamStakeholders &

Users

Scrum Master

“No plan of battle ever survives contact with the enemy.”

Scrum is Iterative

“The plan is meaningless..”

87

Questions?

THANK YOU

89

© 2008 Compuware Corporation — All Rights Reserved