Operations · Operations & process management
Definition of done
Best for Startup to Growth
Use it when
Work the team calls finished still needs testing, fixes or paperwork before release, and you need one shared quality bar that every item must pass.
Skip it when
- You need the conditions one story must meet to be accepted. Use Acceptance criteria framework, which sits on top of this definition.
- The team has no roles, backlog or sprint cadence yet. Start with Scrum framework, which takes this definition as an input.
- You need delivery measures that show how work flows and whether forecasts hold. Use Agile metrics, which counts only items that meet this definition.
- Work is too large for one sprint and must be split and tracked. Use Epic framework first.
What to apply first and what to use instead are listed below.
Inputs
- Organization standardsQuality, security, legal or release rules every team must meet, from engineering, compliance or quality leads.
- Path to productionEvery step and gate an item passes after the team calls it finished today, such as testing, security review or release approval, from recent releases.
- Escaped problemsDefects, release delays and integration failures found after items were called done in the last few sprints, from the bug tracker and incident log.
- ParticipantsThe whole Scrum team, plus experts or gate owners for areas such as testing, security, user experience and architecture.
- Current definitionOptionalThe existing checklist, if there is one, with the date it last changed.
Steps
- Gather the Scrum team and the gate owners, and have each person list everything that must be true before any item can reach users, leaving out features.
- Group the list by area, such as code, test, security, user experience and release, merge duplicates, and keep every organization standard as the minimum.
- Keep the checks the team can meet every sprint today, write each one so it passes or fails, and move the rest to a list of checks to add later.
- Post the definition where the team works, and check every item against it before the item counts as done or is shown at the sprint review.
- Return any item that fails a check to the product backlog, and add backlog work for gaps the existing product already has.
- Review the definition at each sprint retrospective against escaped problems, and move the next check off the later list once the team can meet it.
Output
A written definition of done for the product, posted where the team works, with a list of checks to add later.
- Check
- Area (code, test, security, user experience, documentation or release)
- Origin (organization standard or team)
- How it is verified (automated or manual, and by whom)
- Date added
- Checks planned for later, with the reason each waits
Done when
- Every organization standard appears in the definition at least as strictly as written.
- Each check gives a pass or fail for an item without debate.
- The definition is posted where the team works, and every team on the product uses the same one.
- At the last sprint review, only items that passed every check were counted as done.
- The definition was reviewed at the latest retrospective, and the review date is recorded.
Measure
Track defects found after release, items reopened after being called done and the time from done to release, for each sprint. Compare the next three to five sprints with the three before the definition changed. It is working when escaped defects and reopened items fall, and done items can be released without extra steps.
Hypothetical example
Tallyhouse, a team of eight building payroll software, keeps finding bugs in the week after each release. In a one-hour workshop with the security lead and a release manager, they list 22 conditions and group them into code, test, security and release. They keep seven they can meet now, including peer review, automated tests passing in the build, no known critical defects, a security scan with no high findings and updated release notes. Performance tests and accessibility checks go on the later list. At the next review, two of nine items fail the security scan and return to the backlog. Three sprints later, the team moves performance tests into the definition.
Common mistakes
- Copying a long checklist from another team. Start with what your team can meet every sprint and add checks over time.
- Mixing story conditions into it. Keep conditions for one story on that story, and keep only shared checks here.
- Counting items as done when a check failed. Return them to the product backlog.
- Dropping an organization standard because it is hard to meet. Keep it as the minimum and put the work to meet it in the backlog.
- Letting the definition sit unchanged. Review it at every retrospective against the problems that escaped.
Sources
- The 2020 Scrum Guide · Ken Schwaber and Jeff Sutherland, 2020
- Getting started with a Definition of Done (DoD) · Martin Hinshelwood, 2021
- Definition of Done (glossary) · Agile Alliance
By company stage
Apply first
Nothing. You can start here.
Use instead
- Acceptance criteria framework
You need the conditions one story must meet to be accepted. Use Acceptance criteria framework, which sits on top of this definition.
- Scrum framework
The team has no roles, backlog or sprint cadence yet. Start with Scrum framework, which takes this definition as an input.
- Agile metrics
You need delivery measures that show how work flows and whether forecasts hold. Use Agile metrics, which counts only items that meet this definition.
- Epic framework
Work is too large for one sprint and must be split and tracked. Use Epic framework first.
Where it sits
Open the operations & process management roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account