Ways of working · lesson 6 of 10
Ideas in this lesson
AProduct owner, Scrum master, developersthe three accountabilities
BSprinta fixed period of a month or less; the other events happen inside it
CBacklogs and incrementthe artifacts, each with a commitment
DDefinition of donethe shared standard an increment must meet

Scrum

Last updated

Scrum is the most widely used Agile method. It's deliberately small: the whole official guide is under twenty pages. It sets out three accountabilities, five events and three artifacts, and leaves everything else to the team. In this lesson you'll go through one Pila sprint day by day and plan the next one yourself.

By the end of this lesson you can

  • Name Scrum’s three accountabilities, five events and three artifacts
  • Describe a sprint from planning to retrospective
  • Plan a sprint against a goal and the team’s capacity

A small framework

Scrum was created by Ken Schwaber and Jeff Sutherland in the 1990s; both signed the Agile Manifesto (lesson 2.5). They keep its definition in one short document, The Scrum Guide, last revised in 2020.

The guide calls Scrum a lightweight framework: it's deliberately incomplete. It says what a Scrum team must have, and leaves how to build the software to the team. Scrum has no rules about testing, design or code; teams fill those in with practices from elsewhere, like XP's (lesson 2.8).

It rests on three ideas: transparency (the work and its progress are visible to everyone), inspection (look at them often) and adaptation (change course when something's off). Every event below is a chance to inspect and adapt.

As a UML activity diagram, a sprint is two loops: a short one every day, and a longer one every sprint.

[no]next day[yes]next sprintProductbacklogSprintplanningWork on thesprint backlogSprintover?Daily scrum:plan the next daySprintreviewSprintretrospective

Press Walk through it to follow the work round the chart, one stop at a time.

  1. Product backlog, then sprint planning, then work on the sprint backlog.
  2. Sprint over? If not, a daily scrum plans the next day, and work goes on (a loop back, every day).
  3. If the sprint is over: sprint review, then sprint retrospective.
  4. Then back to sprint planning for the next sprint (a loop back).
A Scrum sprint as a UML activity diagram. In UML’s notation: the filled dot is where it starts; rounded boxes are actions and square boxes are things the work passes along; a diamond with a question is a decision, with the condition for each way out in [brackets], and an empty diamond is a merge, where a way back joins the flow; Pink arrows go back to an earlier action.

Three accountabilities

A Scrum team is small, typically ten people or fewer, with no sub-teams and no hierarchy. The 2020 guide speaks of accountabilities rather than roles or job titles:

The Scrum team
AccountabilityAccountable forOn Pila
Product ownerThe value of the product: the product goal, and the product backlog’s content and order. One person, not a committee.Bea
DevelopersBuilding a usable increment each sprint: planning the sprint, meeting the definition of done, adapting their plan daily. Anyone who builds, testers included.Marco, Rina, Jun
Scrum masterThe team’s effectiveness: helping everyone understand Scrum, removing what blocks the team, and serving the organisation around it.Pila has none full-time; Bea’s manager coaches the team monthly

Note that "developers" in Scrum means everyone doing the work, including Rina the tester. Lesson 1.4's roles all still exist; Scrum just says who's accountable for what.

One sprint, day by day

Everything in Scrum happens in sprints: fixed periods of a month or less, back to back. Pila's are two weeks. The other four events happen inside each sprint:

Mon1Tue2Wed3Thu4Fri5Mon6Tue7Wed8Thu9Fri10Sprint planningSprint backlog:0 of 5 done
1 of 9 Day 1, sprint planning. The whole team picks a sprint goal, “a senior can get a priority number by text”, and pulls the backlog items that serve it into the sprint backlog.

The guide sets a maximum length for each event, for a one-month sprint; shorter sprints usually need less: planning at most eight hours, the daily scrum fifteen minutes, the review four hours, the retrospective three.

Artifacts and their commitments

Scrum has three artifacts, the things it keeps visible. The 2020 guide gives each one a commitment: the thing it's measured against.

Artifacts and commitments
ArtifactWhat it isCommitment
Product backlogEverything that might be done to improve the product, in order. The product owner orders it.Product goal: what the product is for, in the long run. Pila’s: “nobody waits outside the health centre”.
Sprint backlogThe sprint goal, the items chosen for this sprint, and the developers’ plan for them.Sprint goal: the one purpose of this sprint.
IncrementEverything that’s done and usable, added to all earlier increments.Definition of done: the shared standard every finished item must meet, such as “tested, reviewed, works on a basic phone”.

The definition of done is what makes "done" mean the same to everyone. An item that doesn't meet it isn't shown at the review; it goes back to the product backlog.

Plan the next sprint

It's sprint planning. Bea has ordered the backlog, the team has agreed the sprint goal, and the developers choose how much they can do. Pull items into the sprint:

Sprint goal: seniors get priority numbers, with or without a smartphone. Capacity: about 18 points (what the team finished in each of its last three sprints).

Product backlog (in Bea’s order)

Sprint backlog (0 of 18 points)

Click items in the backlog to pull them into the sprint. Click again to put them back.

The developers, not the product owner or the client, decide how much fits. Capacity comes from experience: what the team actually finished in recent sprints, not what it hopes to finish.

Spot the trap: a daily scrum that’s a status meeting

Spot the trapKap. Ernesto

Kap. Ernesto starts coming to the daily scrum. Each developer now reports to him in turn what they did yesterday. It takes an hour.

What happens if…

Check what you learned

Who orders the product backlog?
What is the definition of done?
Who decides how many items go into a sprint?

Sources

Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.

All sources for Simple Software Development