Your Training Partner
Techniques Toolbox
Three Product Backlog items arrive at a gate marked "Definition of Done". The gate rests on a band "Organisational standard (if one exists): minimum" with a band "Scrum Team: product criteria" above it. One path leads from the gate to the Increment. Another runs back under the gate to the Product Backlog with the note "Neither released nor presented at the Sprint Review". In an inset, Scrum Teams A and B pass through the same gate.

Definition of Done

The Definition of Done (DoD) is a formal description of the state of the Increment when it meets the quality measures required for the product. The Scrum Guide makes it the commitment of the Increment. The Developers check each Product Backlog item against this description. An item that meets it enters the Increment. An item that does not meet it is neither released nor presented at the Sprint Review. It returns to the Product Backlog. When the Definition of Done is part of the organisation's standards, it sets the minimum for every Scrum Team. Without such a standard, the Scrum Team creates its Definition of Done for the product. Several teams on one product share a single one.

Goal

The Definition of Done is the shared list of criteria that a Product Backlog item meets before the team considers it finished. In the Scrum Guide, each artifact carries a commitment: the Product Goal for the Product Backlog, the Sprint Goal for the Sprint Backlog and the Definition of Done for the Increment. The PMBOK Guide describes it as the list of criteria that a deliverable meets to be ready for the next stage or for the customer. In an adaptive approach it applies to a user story, to a feature or to an Increment.

Without it, "done" remains an opinion. A developer calls an item finished when the code runs on their own machine. The Product Owner calls it finished on seeing it work at the Sprint Review. Operations find out in production what was missing. The Scrum Guide credits the Definition of Done with transparency: everyone shares the same understanding of what work the Increment contains.

It settles one question for each Product Backlog item: does the item enter the Increment?

The deliverable is the Definition of Done. The glossary of the Agile Extension to the BABOK defines it as a technique: the team agrees on a list of criteria and displays it prominently. The result is a verified and usable Increment.

The business analyst proposes the criteria that come from the business: interface translations, online help, data protection rules and accessibility. The analyst writes the acceptance criteria of each item and keeps the conditions that belong to one item out of the shared list.

Usage

When to use it

  • A Scrum Team starting a product: write the Definition of Done before the first Sprint Planning.
  • Several Scrum Teams on one product: define one Definition of Done together that every team follows.
  • An organisation with directives on security, data protection or accessibility: make them the minimum for every team.
  • Repeated disagreement at the Sprint Review over what is finished: settle the question in advance and in writing.
  • "Almost finished" work carried from Sprint to Sprint: make visible what each item still lacks.
  • Defects found after release to production: add to the list the check that would have stopped them.
  • A team spread over several sites: the written list replaces the spoken agreement on what "finished" means.
  • An agile team outside Scrum (Kanban, hybrid project): set the condition for entering the "Done" column.

When not to use it

  • A condition that belongs to one item: write it as an acceptance criterion of that item.
  • A one-off check of a document or a model: hold a review.

Description

What the list sets

The Scrum Guide describes the Increment as a stepping stone toward the Product Goal. Each Increment adds to all prior Increments. The team verifies it thoroughly so that all Increments work together. It must be usable. The Definition of Done turns "verified" and "usable" into criteria that the Developers check on each item.

Who sets the Definition of Done

The organisation. If the Definition of Done is part of the organisation's standards, every Scrum Team follows it as a minimum. A team can therefore add criteria for its own product. It removes none.

The Scrum Team. Without an organisational standard, the Scrum Team creates a Definition of Done appropriate for the product. The Scrum Team consists of the Product Owner, the Scrum Master and the Developers. The Developers are required to conform to it.

Several teams on one product. These Scrum Teams define the same Definition of Done together and all comply with it. Several handbooks have each team write its own list. On a shared product the Guide rules this out. Two teams that finish against two lists produce Increments that are not verified the same way.

What happens to an item

The Developers check each Product Backlog item against the Definition of Done. The moment an item meets it, an Increment is born. The Guide allows the team to deliver an Increment to stakeholders before the Sprint ends. It adds that the Sprint Review should never hold back a release. The Definition of Done alone decides whether an item can be released.

An item that does not meet it can be neither released nor presented at the Sprint Review. It returns to the Product Backlog for future consideration.

Product Backlog item
Product Backlog item
Product Backlog item
Definition of Done
Increment
Product Backlog
Neither released nor presented at the Sprint Review
Scrum Team: product criteria
Organisational standard (if one exists): minimum
Scrum Team A
Scrum Team B
Same Definition of Done
Every Product Backlog item passes through the same Definition of Done. It starts from the organisation's minimum when one exists. The Scrum Team adds the criteria for the product. An item that meets it enters the Increment. An item that does not meet it is neither released nor presented at the Sprint Review. It returns to the Product Backlog. Two Scrum Teams that work on the same product pass through the same Definition of Done.

Almost finished work. An item that is 90% finished returns to the Product Backlog like an item barely started. A team that presents it at the Sprint Review shows the stakeholders an Increment that does not exist. The team then denies them the accurate picture of the product that their feedback rests on.

Automatic carry-over. A team that takes the unfinished item into the next Sprint without going back through the Product Backlog bypasses the order of the Product Backlog. The item returns there first. The Product Owner reorders it. It comes back into a Sprint when Sprint Planning selects it.

The list relaxed mid-Sprint. A team running late removes a criterion so that an item passes. The list then no longer says whether the item is done. The Scrum Guide states that quality does not decrease during the Sprint. The Scrum Team revises the list at the Sprint Retrospective.

Writing the list

The rules for writing the list come from practice.

Criterion as writtenDefectVerifiable criterion
Clean codeNot verifiableCode reviewed and approved by a second developer
Tests writtenDescribes work doneRegression suite passed in pre-production
Readable codeVagueStatic analysis without blocking warnings
Accepted by the Product OwnerOne person's decisionLeaves the list: acceptance criterion of the item
Each rewritten criterion is a yes-or-no check. Acceptance by the Product Owner moves to the acceptance criteria of the item.

A criterion is a yes-or-no check. Each criterion names its evidence: a test report, an approved merge request or a published help page.

A criterion holds for every item. The team tests each line with one question: does the condition apply to a label fix as much as to a new form? A condition that holds for one item only is an acceptance criterion of that item.

A criterion describes the state of the Increment. The Guide defines the Definition of Done by that state.

A criterion is verified within the Sprint. The Developers must be able to check it before the Sprint ends. The criterion "tested in pre-production" assumes a pre-production environment. Without one, the list promises a check that nobody makes. The team then writes the criterion it can meet and reports the gap to the Scrum Master as an impediment.

The list fits on one page and stays in view. The Developers consult it while they work. A list that the team discovers at the Sprint Review arrives too late.

Acceptance by the Product Owner. Many lists carry the line "accepted by the Product Owner". With this line, one person's decision replaces evidence that anyone can verify. What the Product Owner checks on an item goes into the acceptance criteria of that item.

The Definition of Done through the Sprint

At Sprint Planning, the Developers forecast what they can complete. The better they know their Definition of Done, the more reliable their forecast. For each selected item, they plan the work that leads to an Increment that meets the Definition of Done.

During the Sprint, the Developers adhere to the Definition of Done on every item. The Scrum Master helps the team create Increments that meet it.

At the Sprint Review, the team presents only the finished items.

At the Sprint Retrospective, the Scrum Team inspects how the last Sprint went with regard to individuals, interactions, processes, tools and its Definition of Done. It decides the changes to the list at this Retrospective. It leaves the organisation's minimum untouched. On a shared product it proposes the change to the other teams. They decide together. In practice the revised list applies from the next Sprint.

Sprint
Sprint Planning
Sprint work
Sprint Review
Sprint Retrospective
Definition of Done
The Developers plan the work toward an Increment that meets the Definition of Done
Every item passes it
The team can release an Increment before the Sprint ends
The team presents only the finished items
The Scrum Team inspects the Definition of Done
Revised list for the next Sprint
Sprint Planning
The same Definition of Done applies at every event of the Sprint. At Sprint Planning, the Developers plan the work toward an Increment that meets the Definition of Done. During the Sprint, every item passes it. The team can release an Increment before the Sprint ends. At the Sprint Review, the team presents only the finished items. At the Sprint Retrospective, the Scrum Team inspects the Definition of Done. The revised list applies to the next Sprint.

Definition of Done and acceptance criteria

An acceptance criterion most often concerns one item. In the Agile Extension to the BABOK, acceptance criteria set the boundaries of a user story. The Product Owner and the stakeholders use them to verify the delivered item. The BABOK describes them as the minimum set of requirements that a solution must meet. It adds that they are usually expressed as pass or fail. The Definition of Done is a common standard: the same list applies to every item in the product.

Acceptance criterionDefinition of Done
Applies toMost often a single itemEvery item in the product
QuestionDoes this item do what is expected?Can this item enter the Increment?
LifespanThe item'sThe product's. The Sprint Retrospective revises it.
ExampleThe form rejects a three-digit postcode.The interface texts are reviewed in French and German.
An acceptance criterion says whether an item does what is expected. The Definition of Done says whether an item can enter the Increment.

An item can meet all its acceptance criteria and still not be done. The form rejects invalid postcodes. Its German version is still missing. The PMBOK Guide counts acceptance criteria, the Definition of Done and fitness for use among distinct measures of quality.

For the conditions that belong to one item, see Acceptance and Evaluation Criteria.

AI considerations

The team gives an AI assistant the organisation's directives on IT security, data protection and accessibility. The assistant extracts the verifiable criteria and proposes the evidence that each one requires. It rewords a vague criterion: "readable code" becomes "static analysis without blocking warnings". It flags the lines that hold for one item only.

During the Sprint, the integration pipeline checks the measurable criteria. Before the Sprint Review, an AI assistant reads its reports and flags the criteria that lack evidence for each item. When several teams merge their lists into a single Definition of Done, the assistant spots duplicates and contradictory criteria.

The quality level required for the product remains a decision of the organisation or of the Scrum Team. A language model tends to produce a generic list ("code reviewed, tests written, documentation up to date") that says nothing about the product. A criterion is met when its evidence exists. A model's opinion is not evidence. Source code and user data stay out of the prompts sent to an external AI service.

Examples

A bilingual cantonal administration is developing an online portal for its residents. Its IT department imposes a minimum on all its Scrum Teams. The portal team adds to it.

CriterionOriginEvidence
Code reviewed and approved by a second developerOrganisationApproved merge request
No critical or high vulnerabilityOrganisationSecurity scan report in the integration pipeline
No real personal data in the test environmentsOrganisationAnonymised data sets referenced in the merge request
Accessibility conforms to WCAG 2.1 level AAOrganisationError-free automated check and screen-reader pass
Automated tests of the item and regression suite passedTeamIntegration pipeline report
Interface texts reviewed in French and GermanTeamApproval by the translation service
Deployed in pre-production and usable by a front-office employeeTeamEnd-to-end scenario run in pre-production
Online help updated in both languagesTeamPublished help pages
The Definition of Done of the online portal. The rows marked Organisation form the minimum for every Scrum Team in the canton. The portal team added the others for its product.

No row names a specific item. The list applies to the change-of-address form as much as to a label fix.

Visualisations

The usual form is a one-page table: the criterion, its origin and its evidence. The team posts it on the wall or in its document space. On the task board, the "Done" column takes an item only when the item meets the Definition of Done. Many teams place the list above that column.

Cost

PhaseLevelJustification
PreparationMediumGather the organisation's standards and the whole Scrum Team. Align the teams when several share the product.
ExecutionMediumEvery item passes the whole list. The integration pipeline automates the measurable criteria.
DocumentationLowOne page that the Sprint Retrospective revises.

Tooling

A poster or a whiteboard is enough for a team on one site. A team wiki (Confluence or similar) holds the reference version when several teams share the list.

Merge request templates in GitLab (pull request templates in GitHub and Azure DevOps) repeat the criteria as checkboxes. The continuous integration server checks the measurable criteria: tests, static analysis, security scans and automated accessibility checks with axe or Lighthouse. Tracking tools (Jira, Azure Boards) attach the list to every item through a field or an extension.

Sources

  • Ken Schwaber and Jeff Sutherland, The Scrum Guide (November 2020), "Increment" and "Commitment: Definition of Done" sections: the definition, the birth of the Increment, transparency, the return of a non-conforming item to the Product Backlog, the organisational standard as a minimum, creation by the Scrum Team, the conformance of the Developers, the list shared by several teams and the Sprint Review that should hold back no release.
  • Ken Schwaber and Jeff Sutherland, The Scrum Guide (November 2020), "Developers", "Scrum Master", "Sprint Planning", "Sprint Retrospective" and "Scrum Artifacts" sections: the role of the Definition of Done in each event and its rank as the commitment of the Increment.
  • PMI, PMBOK Guide, 8th edition, §2.2.1 Key Concepts (Scope Performance Domain), §3.5 Embed Quality Into Processes and Deliverables and Glossary: the Definition of Done as the list of criteria for a deliverable ready for the customer and as a measure of quality distinct from acceptance criteria.
  • IIBA, Agile Extension to the BABOK Guide v2, Glossary ("Definition of Done") and §7.21 User Stories (.4 Confirmation): the Definition of Done as a list of criteria that the team agrees on and displays; the acceptance criteria that set the boundaries of a user story.
  • IIBA, A Guide to the Business Analysis Body of Knowledge (BABOK Guide) v3, §10.1 Acceptance and Evaluation Criteria: the acceptance criterion as a minimum set of requirements that is usually expressed as pass or fail.
Decision Trees
All techniques
Definition of Ready