agile estimating and planning using scrum

89
Agile Estimating and Planning Using Scrum Tommy Norman Systems Architect / Certified Scrum Master

Upload: tommy-norman

Post on 28-Jan-2015

104 views

Category:

Technology


0 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Agile Estimating and Planning Using Scrum

Agile Estimating and Planning Using Scrum

Tommy NormanSystems Architect / Certified Scrum Master

Page 2: Agile Estimating and Planning Using Scrum

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

Page 3: Agile Estimating and Planning Using Scrum

3

Introductions

Page 4: Agile Estimating and Planning Using Scrum

Tommy Norman

4

Email: [email protected]

Blog: www.tommynorman.com

Systems Architect / Agile Coach,Compuware Corporation

Certified Scrum Master/Practitioner, Agile Alliance

MVP Team System, Microsoft

Page 5: Agile Estimating and Planning Using Scrum

There is no Santa Claus.

The Easter Bunny is dead.

Agile is not a silver bullet.

Page 6: Agile Estimating and Planning Using Scrum

6

Traditional Techniques

Page 7: Agile Estimating and Planning Using Scrum

Analysis Design Develop Test Deploy

Traditional “Waterfall” SDLC

Page 8: Agile Estimating and Planning Using Scrum

8

How do we currently plan and estimate a traditional software

development project?

Page 9: Agile Estimating and Planning Using Scrum

Business Owner

9

Business Case

Page 10: Agile Estimating and Planning Using Scrum

Stakeholders &Experts

Project Manager

10

Business Case

Project Charter

Page 11: Agile Estimating and Planning Using Scrum

11

Business Case

Project Charter

Milestones

Business Owner

Project Plan

Page 12: Agile Estimating and Planning Using Scrum

12

Business Case

Project Charter

Project Plan

Page 13: Agile Estimating and Planning Using Scrum

13

Business Case

Project Charter

Project Plan

10 days?

7 days?

Project Manager

Experts

Page 14: Agile Estimating and Planning Using Scrum

14

Business Case

Project Charter

Project Plan

Project Manager

Page 15: Agile Estimating and Planning Using Scrum

Not an Expert

Expert

15

Business Case

Project Charter

Project Plan

10 days?

25Days!

Page 16: Agile Estimating and Planning Using Scrum

Business Analyst

Business Case

Project Charter

Project Plan

Requirements

Users & Experts

Page 17: Agile Estimating and Planning Using Scrum

Business Case

Project Charter

Project Plan

Requirements

Architecture & Design

Architects & Designers

Page 18: Agile Estimating and Planning Using Scrum

Business Case

Project Charter

Project Plan

Requirements

Architecture & Design

Page 19: Agile Estimating and Planning Using Scrum

19

Does this process work?

Page 20: Agile Estimating and Planning Using Scrum

20

What are the benefits of this

process?

Page 21: Agile Estimating and Planning Using Scrum

21

What are the issues with this

process?

Page 22: Agile Estimating and Planning Using Scrum

22

Research & Statistics

Page 23: Agile Estimating and Planning Using Scrum

Simula Research

23

Page 24: Agile Estimating and Planning Using Scrum

IEEE Xplore

24

Page 25: Agile Estimating and Planning Using Scrum

25

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

their objectives.”-Bob Lewis (2003?)

Page 26: Agile Estimating and Planning Using Scrum

Estimation Granularity

26

Page 27: Agile Estimating and Planning Using Scrum

Estimation Granularity

27

EpicTheme

Feature UserStory

Page 28: Agile Estimating and Planning Using Scrum

Estimation Over Time

28

Page 29: Agile Estimating and Planning Using Scrum

Estimating Time Boxes

29

Page 30: Agile Estimating and Planning Using Scrum

Expert Estimation

30

Expert

n hrs.

n hrs.+

30%

Page 31: Agile Estimating and Planning Using Scrum

Magic Eight Ball

Page 32: Agile Estimating and Planning Using Scrum

32

Scrum in 5 Minutes

Page 33: Agile Estimating and Planning Using Scrum

Roles

Product Owner Scrum Master Scrum Team

Stakeholders & Users

Page 34: Agile Estimating and Planning Using Scrum

Artifacts

Product Backlog Release PlanProduct Vision

Sprint BacklogSprint

Burndown Impediment List

Page 35: Agile Estimating and Planning Using Scrum

Process

Page 36: Agile Estimating and Planning Using Scrum

36

AgileEstimating

Page 37: Agile Estimating and Planning Using Scrum

ProductBacklog

Page 38: Agile Estimating and Planning Using Scrum

User Stories

Prioritized by Value

Estimated by the Team

Product Owner

Technical Requirements

Bugs

Page 39: Agile Estimating and Planning Using Scrum

User Stories As a (role) I want

(something) so that

(benefit).

Page 40: Agile Estimating and Planning Using Scrum

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

Page 41: Agile Estimating and Planning Using Scrum

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.

Page 42: Agile Estimating and Planning Using Scrum

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.

Page 43: Agile Estimating and Planning Using Scrum

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

Page 44: Agile Estimating and Planning Using Scrum

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.

Page 45: Agile Estimating and Planning Using Scrum

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

Page 46: Agile Estimating and Planning Using Scrum

Zoo PointsLionKangarooRhinocerosBearGiraffeGorillaHippopotamusTiger

Page 47: Agile Estimating and Planning Using Scrum

Story Points

Relative Values

Size not Duration

Additive

Work Best in Iterations

Page 48: Agile Estimating and Planning Using Scrum

Story Points

Page 49: Agile Estimating and Planning Using Scrum

Story Points

1 2 3 5 8

13 20 40 100 ?

Page 50: Agile Estimating and Planning Using Scrum

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

Page 51: Agile Estimating and Planning Using Scrum

Planning Poker

Page 52: Agile Estimating and Planning Using Scrum

Planning Poker

Page 53: Agile Estimating and Planning Using Scrum

Planning Poker

3 5

?

5

13

Page 54: Agile Estimating and Planning Using Scrum

Planning Poker

Page 55: Agile Estimating and Planning Using Scrum

Planning Poker

3 5

5

3

55

Page 56: Agile Estimating and Planning Using Scrum

56

Agile Planning with Scrum

Page 57: Agile Estimating and Planning Using Scrum

Scrum is Iterative

Page 58: Agile Estimating and Planning Using Scrum

“Planning is essential, the plan is useless.”

Page 59: Agile Estimating and Planning Using Scrum

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

Page 60: Agile Estimating and Planning Using Scrum

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

Page 61: Agile Estimating and Planning Using Scrum

61

900

500

100

Product A

Product B

Product C

Page 62: Agile Estimating and Planning Using Scrum

62

EnterpriseProduct Backlog

Product A

Product B

Product C

Page 63: Agile Estimating and Planning Using Scrum

Release Planning

Page 64: Agile Estimating and Planning Using Scrum

Initial Velocity Calculation

Scrum Team: 4

Sprint (wks): 3

Work Days: 45

Factor: 1/3

Velocity: ~14

Page 65: Agile Estimating and Planning Using Scrum

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

Page 66: Agile Estimating and Planning Using Scrum

Yesterday’s Weather

Sprints

Vel

ocity

14 16 1418

1520

Page 67: Agile Estimating and Planning Using Scrum

Yesterday’s Weather

Sprints

Vel

ocity

14 16 1418

152014

Page 68: Agile Estimating and Planning Using Scrum

Yesterday’s Weather

Sprints

Vel

ocity

14 16 1418

152018

Page 69: Agile Estimating and Planning Using Scrum

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

Page 70: Agile Estimating and Planning Using Scrum

Sprint Planning

Page 71: Agile Estimating and Planning Using Scrum

Sprint Planning

Product Owner Product Backlog

Scrum Team Sprint Backlog

Page 72: Agile Estimating and Planning Using Scrum

Sprint Planning

3

2

3

1

3

2

5

8

3

3

3

3

Product Backlog

Sprint 1

Velocity

9 Story Points

Page 73: Agile Estimating and Planning Using Scrum

Sprint PlanningVelocity

9 Story Points

-2 Story Points

7 Story Points

Page 74: Agile Estimating and Planning Using Scrum

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

Page 75: Agile Estimating and Planning Using Scrum

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

Page 76: Agile Estimating and Planning Using Scrum

Keeping a Sustainable Pace

Page 77: Agile Estimating and Planning Using Scrum

Keeping a Sustainable Pace

Page 78: Agile Estimating and Planning Using Scrum

Sprint

Page 79: Agile Estimating and Planning Using Scrum

Sprint (Daily Scrum)

Scrum Master Scrum Team

Sprint BacklogSprint

Burndown

ImpedimentList

Page 80: Agile Estimating and Planning Using Scrum

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.

Page 81: Agile Estimating and Planning Using Scrum

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.

Page 82: Agile Estimating and Planning Using Scrum

Sprint Retrospective

Page 83: Agile Estimating and Planning Using Scrum

Sprint Retrospective

Product Owner

Scrum TeamStakeholders &

Users

Scrum Master

Page 84: Agile Estimating and Planning Using Scrum

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

Page 85: Agile Estimating and Planning Using Scrum

Scrum is Iterative

Page 86: Agile Estimating and Planning Using Scrum

“The plan is meaningless..”

Page 87: Agile Estimating and Planning Using Scrum

87

Questions?

Page 88: Agile Estimating and Planning Using Scrum

THANK YOU

Page 89: Agile Estimating and Planning Using Scrum

89

© 2008 Compuware Corporation — All Rights Reserved