Agile Planning and Project Managemen T: Mike Cohn

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 24

Agile

Planning
and Project
Managemen
Mike
Cohn
Agile
t
2013
August 5,
2013
1

Mike Cohn
• Founding member of Agile Alliance & Scrum
Alliance

• Founder of Mountain Goat Software


• Doing Scrum since 1995
• Started my career as a programmer
• VP Engineering in 4 companies

® 2
Agend
a
• Iterative
and
incremental
• User stories
• Estimating
• Planning

© Copyright Mountain Goat


® Software 3

Agenda
• Iterative
and
incremental
• User stories
• Estimating
• Planning

© Copyright Mountain Goat


® Software 4
Iterativ
•eRevisit previously worked-on
pieces

© Copyright Mountain Goat


® Software 5

Incremental
• Develop one piece at a
time

© Copyright Mountain Goat


® Software 6
Iterative &
•incremental
Do some of one part then some of
the next

© Copyright Mountain Goat


® Software 7

Six levels of
planning
Strategy

Portfolio
Team focuses here Release
Team focuses here Product
Iteration
Team focuses Daily
here
© Copyright Mountain Goat
® Software 8
A release
plan
Iteration 1 Iteration 2 Iteration 3 Iterations 4–
7

IeaiIne
Paai n

Cd hC … 8
Pa d h

D6 cd
 … h 1
T s  … 6

Ts h
 … 
4
D sa
g …
8 8
 m  t
At
Cd h …
® …
6
© Copyright Mountain Goat
9
Software

Agenda
• Iterative and incremental
• User stories
• Estimating
• Planning

© Copyright Mountain Goat


® Software 10
A a ue, I a ee
o t ,
A a vct
at orsre a o
I at o e p
o 
htl ro. h ht
l.
o 

A a feun
c

n e

A a ue, I a flyr, I
wn o rbo a
a rs rain.  at

ti o  ht I ae 
ie
boig tis I
ae

ot 
n.
© Copyright Mountain Goat
® Software 11

A template

As a <user type>,
I
<want/need/can/
etc.> some
goal,
[so that <reason>].

© Copyright Mountain Goat


® Software 12
Where are the details?
A a ue, I • Does the user get a full
a or partial refund?
cne • Is the refund to her
a
r s ra credit card or is it site
in. 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? 13

© Copyright Mountain Goat


Software

Add details as A a peim

i e

sub-stories mme, I a
cne p o h
ls mnt.
A a ue, I

ca
ne
a
r s ra A a nn-
in. pe
i m
mme, I ed o

cne t lat
4 hus n

® avne.
© Copyright Mountain Goat e
Softwar 14
A a mme, I
…or as Conditions of
• Satisfaction
Conditions of Satisfaction are essentially
tests
• Should come from the product owner

A a ue, I a c
rsrai Vn
 e
rfa
ht a peim
n. mme
 cn cne h ae
a wtot a fe.
Vrf ht a nn-
pe i m mme s
cagd 1%  o
 a sm-
d
Vryc n
f helt n
 t o.
e
a l cnfirain
s sn.
© Copyright Mountain Goat
® Software 15

Legend
Te Size
e Larger

i
E
 Smaller

Detail

Less More

Time
© Copyright Mountain Goat
® Software 16
A a P Mreig, I
a s

 l c h
A a P Mreig, I tm
f ae o ue
arve h hn rve
i g h
p
r omne o p
c r
moa
mn
g oe
s, hft
… Ei
h
s o
i ad cm
ags at
s?
A a P Mreig, I
s  ht I a ietf 
n

a s
l c w
i h ye
rpa p ofitb e
f cmags (drc
oe. Ai
e mi, T,
 eal, rdo,
ec.) o icue hn
rve
i© Copyright
g … Mountain Goat
® Software 17

A a P Mreig, I
at t e
ifrain n
rdv
rce
 m
i 
g
i i g hn
hso
A3 A3a VP
cmags. ia MarKetiag,
a VP I ;aat
MarKetiag, I
;to
a a9ee
t iafortation n TV
to 9ee
ads iafortation
;hen reviemiagn TV
ads ;hen cam
histoyicaß reviemiag
þaigas
histoyicaß camþaigas.
. A a P Mreig, I
a te ifrain

t
n eal as hn
r
v e igh
s o
i a
cma©gCopyright
s. Mountain Goat
® Software 18
Agend
a
• Iterative
and
incremental
• User stories
• Estimating
• Planning

© Copyright Mountain Goat


® Software 19

Agenda
• Iterative
and
incremental
• User stories
• Estimating
• Planning

© Copyright Mountain Goat


® Software 20
How long
to…
• Drive to
Seattle
• Read a…
ahem… good
book

21

Estimate size; derive

Size ➞ Calculation ➞ Duration

300 Velocity= 300÷20=


kilograms 20 15 iterations

®
© Copyright Mountain
Goat Software
22
Two Units For

ESTIMATING
1 2
Ideal Story
Point
®
Time s 23
©
Copyrigh
t
Mountain
Goat
Software

Ideal time
• How long a thing will take if:
• it’s all you work on
®
• no one interrupts you © Copyright Mountain Goat
24
Software
© Copyright Mountain Goat
® Software 25

Story points
• How long a user story will take
to develop (effort)
• Influenced by
• Complexity •
Risk
• Uncertainty •
® Etc. © Copyright Mountain Goat
Software 26
27

Your time cannot be added to


mine
• You can run the trail in 5 minutes
• I can run it in 10 minutes
• We can’t agree on how long it will take to run
® • But we can agree the trail is 1km
© Copyright Mountain Goat
Software 28
Planning
Poker®
• Each estimator has
cards with valid
estimates
• A product backlog item is
discussed
• Each estimator selects an
estimate
• Cards are turned over
• Discuss differences
(especially outliers)

®
• Repeat until consensus 29
© Copyright Mountain Goat
Software

Chris

Susa
n An
Vadim
n
© Copyright Mountain Goat
® Software 30
Agend
a
• Iterative
and
incremental
• User stories
• Estimating
• Planning

© Copyright Mountain Goat


® Software 31

Agenda
• Iterative
and
incremental
• User stories
• Estimating
• Planning

© Copyright Mountain Goat


® Software 32
Velocity
50
45
40 42
38 40 39 Average
40
3 35 = 38
30 4 29
Points
Story

20

1
0

0 Iterations
© Copyright Mountain Goat
® Software 33

How much can 5×38


be delivered in ➞
5 iterations?

Product
® Backlog
© Copyright Mountain Goat
Software 34
Using a confidence
interval
50
45
40 42
38 40 39
40
3 35
30 4 29
Points
Story

20

1
0

0 Iterations
© Copyright Mountain Goat
® Software 35

Calculating a confidence interval


Iterations
# of
to throw
historica
out from
l
each each
iteration
end
s
0–7 0
8–10 1
11–12 2
13–15 3
16–17 4
18–20 5
21–22 6
23–25 7
26+ 8
© Copyright Mountain Goat
® Software 36
Ue h oln
vlct rne
cluao t
mutigasf
wr
© Copyright Mountain Goat
.cm/tos Software 37
®

A better answer: 5×34


42➞
• How much can
Will
be delivered in have
5 iterations?
• Fixed-date
planning
Might
have
Won’t have

Product

® Software
Backlog
© Copyright Mountain Goat
38
Fixed-scope
•projects
Sum the product backlog
• Estimate velocity as a range
• Divide the size of the product backlog
by the velocity range
JANUARY FEBRUARY MARCH APRIL MAY JUNE

120÷20
S U N M ON T UE W E D T HU FRI SAT S U N M ON T UE W E D T H U FRI SAT S UN MON T UE W E D T H U FRI SAT S U N M ON T UE W E D T H U FRI SAT S U N M ON T UE W E D T H U FRI SAT S U N MON T UE W E D T H U FRI SAT

1 2 3 4 5 6 1 2 3 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 1 2 3 41 52
7 8 9 10 11 12 13 4 5 6 7 8 9 10 4 5 6 7 8 9 10 8 9 10 11 12 13 14 6 7 8 9 10 11 12 63 47 58 69 170 181 192
103 1141 12 13 147 158 169
14 15 16 17 18 19 20 11 12 13 14 15 16 17 11 12 13 14 15 16 17 15 16 17 18 19 20 21 13 14 15 16 17 18 19
217 1281 219 203 21 22 23
21 22 23 24 25 26 27 18 19 20 21 22 23 24 18 19 20 21 22 23 24 22 23 24 25 26 27 28 20 21 22 23 24 25 26 0 2
247 258 269 320 2381 29 30

=
28 29 30 31 25 26 27 28 25 26 27 28 29 30 31 29 30 27 28 29 30 31
7

JANUARY FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST

120÷15
S U N M ON T UE W E D T HU FRI SAT S U N M ON T UE W E D T HU FRI S AT S UN MON T U E W E D T H U F RI SAT S U N M ON T UE W E D T H U FRI SAT S UN MON T U E W E D T H U F RI SAT S U N M ON T UE W E D T HU FRI S AT S UN MON T U E W E D T H U F RI SAT S U N M ON T UE W E D T H U FRI SAT

1 2 3 4 5 6 1 2 3 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 1 32 41 52 1 2 3 4 5 6 7 1 2 3 4
7 8 9 10 11 12 13 4 5 6 7 8 9 10 4 5 6 7 8 9 10 8 9 10 11 12 13 14 6 7 8 9 10 11 12 63 47 58 69
17 181 192 8 9 10 11 12 13 14 5 6 7 8 9 10 11
0
14 15 16 17 18 19 20 11 12 13 14 15 16 17 11 12 13 14 15 16 17 15 16 17 18 19 20 21 13 14 15 16 17 18 19 103 114 12 13 14 15 169 15 16 17 18 19 20 21 12 13 14 15 16 17 18
1 7 8
21 22 23 24 25 26 27 18 19 20 21 22 23 24 18 19 20 21 22 23 24 22 23 24 25 26 27 28 20 21 22 23 24 25 26 22 23 24 25 26 27 28 19 20 21 22 23 24 25
217 128 219 203 21 22 23
28 29 30 31 25 26 27 28 25 26 27 28 29 30 31 29 30 27 28 29 30 31 0 1 2 29 30 31 26 27 28 29 30 31

=
247 258 269 320 238 29 30
7 1

© Copyright Mountain Goat


® Software 39

Mike Cohn
mike@mountaingoatsoftware.com

www.mountaingoatsoftware.com
fb.com/mountaingoatsoftware
linkedin.com/in/mikewcohn
twitter: mikewcohn
(888) 61–AGILE

® 40
Agend
a
• Iterative
and
incremental
• User stories
• Estimating
• Planning
• Tracking
progress

© Copyright Mountain Goat


® Software 41

Agenda
• Iterative
and
ecto
i n
incremental
nus S
• User stories
Bo
• Estimating
• Planning
• Tracking
progress

© Copyright Mountain Goat


® Software 42
Three Ways to
Track
Progress

1 2 3
Release Sprint Task
Burndown Board
Burndown s
43
© Copyright Mountain
® Goat Software

A release burndown
chart
360

270
18
7
Points
Story

0
p it
e d
vl
90
 ct
0
f
0 1 2 3 4 5 6
6
Iteration
s © Copyright Mountain Goat
® Software 44
Tasks Mon Tues Wed Thur Fri
Code the UI 8 4 8
Code the middle tier 16 12 10 7
Test the middle tier 8 16 16 11 8
Write online help 12

50
40
30
Hour

20
s

1
0

Fri
Tues

Thu
0
Mo

We
n

r
© Copyright Mountain Goat
® Software 45

Task boards
So T D I Dn
Ay
a Cd te…
Poes 
ue, I… Dsg a…
8 ps 8
Ts th
e…
s 8hs
Fgr u Fgr u
h4 w…
hs hw…
8 r S 8
r
A a Cd te…
n
vc Dsg
ue, I… 8
a…
8 t Ts hs 8 h
te… s
4
hs © Copyright Mountain Goat
® Software 46
Mike
Cohn
mike@mountaingoatsoftware.com

www.mountaingoatsoftware.com
fb.com/mountaingoatsoftware
linkedin.com/in/mikewcohn
twitter: mikewcohn
(888) 61–AGILE

® 47

You might also like