scrum under a waterfall - benjamin day consulting, inc. · •scrum.org classes –professional...

62
Scrum Under a Waterfall Benjamin Day

Upload: others

Post on 16-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Scrum Under a Waterfall

Benjamin Day

Page 2: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

About Me

• Brookline, MA

• Consultant, Coach, Trainer

• Microsoft MVP for Visual Studio ALM

• Team Foundation Server, Software Testing, Architecture, Windows Azure

• TechEd, VSLive, DevTeach

• Visual Studio Magazine, Redmond Developer News

• Scrum.org Classes – Professional Scrum Developer (PSD) – Professional Scrum Foundations (PSF)

• www.benday.com

[email protected]

• @benday

Page 3: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Warning: Two Shameless Plugs

Page 4: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Plug #1: Scrum.org

Page 5: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

© 1993-2012 Scrum.org, All Rights Reserved

Professional Scrum at Scrum.org

Professional Scrum

Product Owner

Professional Scrum Foundations

Professional Scrum Master

Professional Scrum

Developer .NET or Java

Product Owners Executives

Scrum Masters

Architects Business Analysts

DB Specialists Designers

Developers Testers

Everyone

Page 6: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Plug #2: benday.com/training

Page 7: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Plugs complete.

Slid

e 7

Page 8: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Introductory thoughts.

Page 9: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

What do I mean by “waterfall”?

• Waterfall = plan-driven

• Gaant charts

• MS Project

• Start dates & end dates

• Phases

Page 10: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

What is Scrum Under a Waterfall?

• SUW

• Scrum + plan-driven

• Agile + plan-driven

Page 11: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Assumptions

• SUW exists

• Value of Agile / Scrum is… – Settled – A good thing

Page 12: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Results by style.

The CHAOS Manifesto, Copyright 2011

Page 13: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

My $0.02

• SUW is a difficult place to be

Page 14: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

…and now a quote by a leading project management expert.

Page 15: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

“You can drive with your feet. It doesn’t mean it’s a good idea.” *

* - paraphrased

Page 16: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

So what do you do if you’re company does SUW?

Page 17: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Two options.

1. Quit in protest. Get a new job.

2. Try to make it work. – Someone else is paying. – Help them make informed decisions.

Page 18: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Goal for this talk

• Be practical

• Try to see both sides

• Acknowledge that change takes time

Page 19: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Comparisons & Motivations.

Page 20: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Waterfall vs. Scrum

Waterfall Scrum / Agile

Requirements docs Just-in-time, informal requirements

Occasional “customer” involvement Frequent “customer” involvement

Start-to-finish Project Plan Product Backlog. Plan for Sprint. Sketchy beyond that.

Tasks are assigned Assigned tasks are a bottleneck

Potentially large team size Teams of 3 - 9 people

Multiple phases, eventual delivery Working software each Sprint

Resistant to change Change is a expected

Contract says what we build, deliver Contract is a little more T&E

Page 21: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Why Waterfall?

• Comes naturally

• Feels good – We’ve got a plan. – We’ve got dates. – What could possibly go wrong?

• Helps managers manage

• Pin down what’s going to be built

• Minimize uncertainty

Page 22: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Why Scrum / Agile?

• Embraces the uncertainty

• Empirical

• “Forecast” rather than “commitment”

• Self-organization by the “do-ers”

Page 23: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Ever seen a company that is Agile at the top and

Waterfall at the bottom?

Page 24: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Do managers trust their team?

What does the team think about the managers?

Page 25: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Why Waterfall people think Agile-ists are nuts

• (Sandal-wearing anarchists)

• Their estimates are always wrong

• They’re always late

• They’re lazy

• The plan is flawless.

• Devs write crummy, buggy code

• Too complex to not plan.

Page 26: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Why Agile-ists think Waterfall people are nuts

• The plan is largely imposed – “Voluntold”

• What we told them was bogus. – Haven’t the foggiest clue – Just enough to make them go away

• Didn’t have anything real to estimate anyway

• Too complex to plan.

Page 27: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Point of agreement #1: Both out of our minds.

Page 28: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Point of agreement #2: If it’s worth doing,

it’s probably complex.

Page 29: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Making it work.

Page 30: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

SUW is the grumpy marriage of two processes.

Page 31: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Why SUW?

• Required by contract

• Required by law

• The Agile Experiment

• Just cuz.

Page 32: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Leverage the strengths of each

• Scrum for day-to-day dev/test activities

• Detect problems with Sprints

• Focus on TDD, DoD & working software

• Waterfall for multi-team coordination

• Waterfall for release planning

Page 33: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Differences for Scrum / Agile

• Changed – Backlog = Project Plan – Less emphasis on Sprint planning – Less negotiation during Sprint

• Same – Daily Scrum – Sprint Burndown – Focus on Definition of Done – Sprint Review – Retrospective

Page 34: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Risks of SUW

• Impedance Mismatch Poor communication

• Lack of trust

• Two sets of books – Extra work? – Lack of transparency?

• Everything is going great…until it isn’t

• Using the Burndown for evil

Page 35: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Using the Burndown for Evil

Page 36: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Making SUW work

• More like making peace

• Set some ground rules

• Must get past – Waterfall: changes = schedule slip = “bug” – Agile: changes = adapting = “feature”

• Avoid “earned value” – “I’m 72.6% done with my task.”

• Transparency

Page 37: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

TFS to the rescue!

Page 38: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Team Foundation Server (TFS)

Page 39: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Microsoft Project Server

• Enterprise project management – Tasks – Portfolios of projects – Timesheets – Resources – Approval workflows

• Plug-in to SharePoint

• Accessed via – Web interface – Microsoft Project

Page 40: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

TFS & MPS Integration

• TFS Project Server Integration Feature Pack

• Bi-directional sync

• TFS data to/from Enterprise Project Plans

Page 41: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Sample TFS / Project Server Flow

Page 42: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Demo: Requirements from MPS,

Tasks from TFS

Page 43: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Demo: Approve changes &

update dates

Page 44: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Demo: Manage Resources on an

Enterprise Project Plan

Page 45: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Demo: View status for

portfolio of projects

Page 46: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Big win: Both groups stay in their

preferred tools.

Page 47: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Transparency is the key to trust in SUW.

Page 48: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Just the facts, ma’am.

• TFS captures data without judgment

• Is it in source control?

• Does the build work?

• Do the tests pass?

• What’s the bug count?

• What’s the history on that work item?

Page 49: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Summary

• SUW can be awkward

• There can be trust problems

• Use Scrum to detect problems

• TFS & Project Server helps Project Management Impedance Mismatch

• Transparency is the key

Page 50: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Any last questions?

Page 51: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Thank you.

http://www.benday.com | [email protected]

Page 52: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Extras.

Page 53: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

$0.02: Orgs are too quick to go “planned”

• “No one ever got fired for choosing IBM.”

• Financial Services – More process where they can afford it – Surprisingly little process where there’s high

risk

• Adopting Agile: gets worse before better

Page 54: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Beware of “no time for xyz” syndrome

• Best practices aren’t optional

• Because there is a “testing” phase, Waterfall sometimes thinks that unit tests can be dropped

Page 55: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

“Balancing Agility and Discipline”

• by Boehm & Turner

• Addison-Wesley Professional

• August 2003

Page 56: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Diagnosing Sync Problems

• Blog post

• http://tinyurl.com/75ll9fe

Page 57: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

The setup process (1 of 2)

• Install TFS

• Install SharePoint

• Install Microsoft Project Server

• Create 1+ Enterprise Project Plans

• Create 1+ TFS Team Projects

• Run TfsAdmin.exe commands

Page 58: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

The setup process (2 of 2) # register pwa and tfs

tfsadmin projectserver /RegisterPWA /pwa:http://demosharepoint/pwa

/tfs:http://demotfs2010:8080/tfs

# map the team project collection

TfsAdmin ProjectServer /MapPWAtoCollection

/pwa:http://demosharepoint/pwa

/collection:http://demotfs2010:8080/tfs/democollection

# upload the field mappings

TfsAdmin ProjectServer /UploadFieldMappings

/collection:http://demotfs2010:8080/tfs/democollection

/useDefaultFieldMappings

# Map to Enterprise Project Plan “Product Xyz”

TfsAdmin ProjectServer /MapPlanToTeamProject

/collection:http://demotfs2010:8080/tfs/democollection

/enterpriseProject:"Product Xyz" /teamproject:DemoAgile

/workItemTypes:"User Story,Task"

Page 59: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Helpful commands for debugging # view the current field mappings

TfsAdmin ProjectServer /DownloadFieldMappings

/collection:http://demotfs2010:8080/tfs/democollection

/filePath:c:\temp\mappingfile.txt

# view the current mapped WITs

tfsadmin projectserver /GetMappedWorkItemTypes

/collection:http://demotfs2010:8080/tfs/democollection

/teamproject:DemoAgile

# get mapped projects

tfsadmin projectserver /GetMappedProjects

/collection:http://demotfs2010:8080/tfs/democollection

Page 60: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Unmap TFS & Project Server

# unmap team project

TfsAdmin ProjectServer /UnmapPlanFromTeamProject

/collection:http://demotfs2010:8080/tfs/democollection

/enterpriseProject:"The Master Plan" /teamproject:DemoAgile

# unmap team project collection

TfsAdmin ProjectServer /UnmapPWAFromCollection

/pwa:http://demosharepoint/pwa

/collection:http://demotfs2010:8080/tfs/democollection

Page 61: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Any last questions?

Page 62: Scrum Under a Waterfall - Benjamin Day Consulting, Inc. · •Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) ... •Be practical •Try

Thank you.

http://www.benday.com | [email protected]