Agile Planning and Project Management Mike Cohn Agile 2013 August 5, 2013
Total Page:16
File Type:pdf, Size:1020Kb
Agile Planning and Project Management Mike Cohn Agile 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 Agenda • 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 Iterative • Revisit 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 Product Team focuses here Release Team focuses here Iteration Team focuses here Daily © Copyright Mountain Goat Software ® 8 A release plan Iteration 1 Iteration 2 Iteration 3 Iterations 4–7 IeaiIne Paain Pa Cd hC …d h …6 8 Dcd … 4 Ts h … 1 Ts h … 6 Dsg a … 8 Atmt … 8 Cd h … 6 ® © Copyright Mountain Goat Software 9 Agenda • Iterative and incremental • User stories • Estimating • Planning ® © Copyright Mountain Goat Software 10 A a ue, I at o A a vcto taee, rsre a htl I at o e poo ro. o h htl. A a feun flyr, I A a ue, I a cne wn o rbo a at a rsrain. t i o ht I ae ie boig tis I ae otn. © 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 ue, I a • Does the user get a full or partial refund? cne a • Is the refund to her credit rsrain. 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 ® 13 Add details as A a peim ie sub-stories mme, I a cne p o h ls mnt. A a ue, I a A a nn-peim cne a mme, I ed o rsrain. cne t lat 4 hus n avne. A a mme, I m eald a cnfirain w©e Copyright I c Mountainne Goat. Software ® 14 … or as Conditions of Satisfaction • Conditions of Satisfaction are essentially tests • Should come from the product owner A a ue, I a cne a rsrain. Vrf ht a peim mme cn cne h ae a wtot a fe. Vrf ht a nn-peim mme s cagd 1% o a sm-dy cnelto. Vrf ht n eal cnfirain s sn. © Copyright Mountain Goat Software ® 15 Legend Tee Size Larger Ei Smaller Detail Less More Time © Copyright Mountain Goat Software ® 16 A a P Mreig, I a slc h tmfae o A a P Mreig, I a ue hn rveig h rve h promne promne f at o hsoia d cmags cmags, o ht … Eis? s ht I a ietf n A a P Mreig, I a rpa pofitbe oe. slc wih ye f cmags (drc mi, T, A ei eal, rdo, ec.) o icue hn rveig … © Copyright Mountain Goat Software ® 17 A a P Mreig, I at t e ifrain n drc miig hn rveig hsoia cmags. A a P Mreig, I at t e ifrain n T as hn rveig hsoia cm ags. A a P Mreig, I at t e ifrain n eal as hn rveig hsoia cmags. © Copyright Mountain Goat Software ® 18 Agenda • 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 Time Points © Copyright Mountain Goat Software ® 23 Ideal time • How long a thing will take if: • it’s all you work on • no one interrupts you © Copyright Mountain Goat Software ® 24 © 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 1 km © 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 © Copyright Mountain Goat Software ® 29 Chris Susan Ann Vadim © Copyright Mountain Goat Software ® 30 Agenda • 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 40 40 38 39 Average 34 35 = 38 30 29 20 Story Points 10 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 40 40 38 39 34 35 30 29 20 Story Points 10 0 Iterations © Copyright Mountain Goat Software ® 35 Calculating a confidence interval Iterations to # of throw out historical from each iterations each end 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 Ue h oln vlct rne cluao t mutigasfwr .cm/tos © Copyright Mountain Goat Software ® 37 A better answer: 5×3442➞ • How much can Will have be delivered in 5 iterations? • Fixed-date planning Might have Won’t have Product Backlog © Copyright Mountain Goat Software ® 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 SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU 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 107 118 129 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 1013 1411 1512 1613 1417 1518 1916 120÷20= 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 2017 2118 2219 2023 2421 2522 2623 28 29 30 31 25 26 27 28 25 26 27 28 29 30 31 29 30 27 28 29 30 31 2427 2528 2926 3027 2831 29 30 JANUARY FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU FRI SAT SUN MON TUE WED THU 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 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 107 118 129 8 9 10 11 12 13 14 5 6 7 8 9 10 11 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 1013 1411 1512 1613 1417 1518 1916 15 16 17 18 19 20 21 12 13 14 15 16 17 18 120÷15= 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 2017 2118 2219 2023 2421 2522 2623 22 23 24 25 26 27 28 19 20 21 22 23 24 25 28 29 30 31 25 26 27 28 25 26 27 28 29 30 31 29 30 27 28 29 30 31 2427 2528 2926 3027 2831 29 30 29 30 31 26 27 28 29 30 31 © Copyright Mountain Goat Software ® 39 Mike Cohn [email protected] www.mountaingoatsoftware.com fb.com/mountaingoatsoftware linkedin.com/in/mikewcohn twitter: mikewcohn (888) 61–AGILE ® 40 Agenda • Iterative and incremental • User stories • Estimating • Planning • Tracking progress © Copyright Mountain Goat Software ® 41 Agenda • Iterative and incremental • User stories • Estimating Bonus Section • Planning • Tracking progress © Copyright Mountain Goat Software ® 42 Three Ways to Track Progress 1 2 3 Release Sprint Task Burndown Burndown Boards © Copyright Mountain Goat Software ® 43 A release burndown chart 360 270 180 7 Story Points 90 peitd vlct f 6 0 0 1 2 3 4 5 6 Iterations © 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 20 Hours 10 0 Fri Mon Thur Wed Tues © Copyright Mountain Goat Software ® 45 Task boards Soy T D I Poes Dn A a ue, Cd te… I… Dsg a… 8 ps 8 hs Ts te… 8 hs Fgr u Fgr u h4w… hs hw… 8 r S 8 r A a nvc Cd te… ue, I… Dsg a… 8 t 8 hs Ts te… 8 hs 4 hs © Copyright Mountain Goat Software ® 46 Mike Cohn [email protected] www.mountaingoatsoftware.com fb.com/mountaingoatsoftware linkedin.com/in/mikewcohn twitter: mikewcohn (888) 61–AGILE ® 47.