Operations · Operations & process management

Definition of done

Best for Startup to Growth

TESTEDREVIEWEDDOCUMENTEDDEPLOYED

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 standards
    Quality, security, legal or release rules every team must meet, from engineering, compliance or quality leads.
  • Path to production
    Every 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 problems
    Defects, release delays and integration failures found after items were called done in the last few sprints, from the bug tracker and incident log.
  • Participants
    The whole Scrum team, plus experts or gate owners for areas such as testing, security, user experience and architecture.
  • Current definitionOptional
    The existing checklist, if there is one, with the date it last changed.

Steps

  1. 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.
  2. Group the list by area, such as code, test, security, user experience and release, merge duplicates, and keep every organization standard as the minimum.
  3. 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.
  4. 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.
  5. Return any item that fails a check to the product backlog, and add backlog work for gaps the existing product already has.
  6. 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

By company stage

  1. Pre-IdeaNot applicableThere is no delivery work to define completion for.
  2. IdeaUsefulA small team can agree informally on done and does not need a formal definition.
  3. Early StartupUsefulShared criteria help avoid rework but the team is still small.
  4. StartupCriticalSeveral teams and leads need shared completion standards to scale delivery quality.
  5. GrowthCriticalDepartments and many teams need consistent quality standards to expand reliably.
  6. ScaleUsefulStandards are established and refined across products as routine practice.
  7. EnterpriseUsefulTeams already apply standards locally, so it is a background practice.

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.

Recommended 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