During the early days of my Scrum journey, the Definition of ‘Done’( DoD) was one of the concepts that gave me some headaches. This article is to explore this topic and discuss some of the Anti-patterns I have experienced.
Definition of ‘Done’ provides a shared understanding among Creators-(The Scrum Team- Development Team, Product Owner, Scrum Master) and Inspectors (the stakeholders). It defines what it means for the work to be complete.
Aim of a Sprint is to create ‘Done’ potentially releasable increment. Hence having a Definition of ‘Done’ is a crucial element of the Scrum framework. It supports empiricism by providing transparency via building a shared understanding of what elements are required during development to convert a Product Backlog Item into a potentially releasable increment.
Who is Responsible: Having a Definition of ‘Done’ is the development team’s responsibility. However, if there are some organisational level norms then teams must adopt those as the minimum and expand whenever needed. Product Owner should also be consulted.
Definition of ‘Done’ in relation with 5 Scrum Events
The Definition of ‘Done’ supports the Scrum framework throughout the Scrum framework. It supports all the 5 Scrum Events.
Sprint Planning: Definition of ‘Done’ helps the team in selecting the amount of work that can be pulled from the Product Backlog. Based on this a team can estimate how much effort it will take to convert a product backlog item into a done increment.
Tip: It is highly advisable to make the Definition of ‘Done’ visible throughout the Sprint Planning.
Sprint: During the development work, the Definition of ‘Done’ guides the team by helping them identify tasks that were missed in the Sprint Planning but need to be completed.
Daily Scrum: Definition of ‘Done’ helps teams to realise that even if an individual member(s) has completed his/her tasks related to a product backlog item, but that item will not be considered as ‘Done’ until the definition is met altogether. It help builds ‘team goal over individual goal’ mindset and daily scrum is the best event for that.
Sprint Review: It provides a shared understanding between Stakeholders and the Scrum team about what ‘Done’ means. It enhances transparency and supports empiricism. This transparency helps in inspecting the product increment and directing the future direction of the product.
Sprint Retrospective: This is the event where the Definition of ‘Done’ gets adapted to improve product quality. Many teams start with a less stringent Definition of ‘Done’. However, the long term goal should be to reduce the technical debt that could be accumulated because of less stringent Definition of ‘Done’.
Not having a good Definition of ‘Done’ or not following it is one of the main reasons for the poor quality of the product and accumulating technical debt. This reduces the sustainability and scalability of the product in the long run. Sometimes this inability to sustain and scale cripples organisations.
Caution: Teams/Organisations should respect the fact that it takes effort and time to reach to an optimal Definition of ‘Done’. It will vary for different teams/products. Teams need to apply regular inspectation and adaptation to get better at it. Simply ‘copy and paste’ might not work.
Below are a few key Anti-patterns I have observed in my experience and have tried to describe how to overcome-
1) Not having a practical & pragmatic Definition of ‘Done’– One of the key root cause for not having or following a Definition of ‘Done’ is that- ‘it is not being practical and pragmatic in that moment of time’. Many organisations/teams adopt a Definition of ‘Done’ which is hard or in many ways impossible to achieve in the first few sprints. This leads to a belief that it is optional and ultimately, the essence of scrum is lost.
Tip: To overcome this, it is better to start with a less stringent Definition of ‘Done’ which is practical and achievable by the skills available in the development team. Team can learn ways of working quickly and improve on Definition of ‘Done’ later. Key here is to craft a Definition of ‘Done’, which is actionable in that moment of time.
“As Scrum Teams mature, it is expected that their definitions of “Done” will expand to include more stringent criteria for higher quality”- Scrum Guide.
Caution: Try to quickly extend the Definition of ‘Done’ otherwise team will start accumulating the technical debt which will be very difficult to repay.
2) Not Inspecting and Adapting- Another common mistake that organisations/teams make is by not inspecting and adapting the Definition of ‘Done’ regularly. As Geoff Watts quoted in his book Scrum Mastery
A good Scrum Master help the team to meet the Definition of ‘Done’ at the end of the Sprint. A Great Scrum Master help the team to extend their Definition of ‘Done’. — By Geoff Watts- Scrum Mastery.
Inspection & Adaptation is core to the Scrum framework and this applies to the Definition of ‘Done’ as well. During the Sprint Retrospective, teams should adapt the Definition of ‘Done’ based on their own experience during the Sprint and the feedback received during the Sprint Review.
Tip: Make Definition of Done as a must topic for Sprint Retrospective. Ask few questions, such as: What could be added/changed to the current Definition of Done to improve quality/process? Few ideas can be- Code reviews, Automation, Release Notes, No known defects etc.
3) Scrum-falls- Teams that are new to the scrum, sometimes fall into a trap where they tend to complete only some part of the work related to a product backlog item rather than finishing the entire work. There is not enough emphasis on ‘Done’ or team doesn’t work as a single unit.
For example- If Coding and testing are only tasks associated with product backlog item A & B, they plan like below:
Sprint 1: Code A
Sprint 2. Code B, Test A.
This is NOT Scrum. The team should find out ways how they can Test A within Sprint 1. Scrum master’s role here is to encourage the team to explore new ways and building the habit of creating ‘Done’ increments.
‘Done’ is binary. Either it is ‘Done’ or ‘Not Done’. There is nothing like partially done, my part done, 90% done etc.”
Tip: Sometimes teams can’t deliver ‘Done’ increment because product backlog items are too big. Teams can benefit from decomposing such items. Hence, it is advisable to have a product backlog refinement session.
4) Single Product-Multiple Teams but Different Definition of ‘Done’: In many cases, multiple teams work on the same product. In such scenarios, having different Definitions of ‘Done’ can create integration issues and sometimes chaos.
Definition of ‘Done’ is for the product increment and in case of single product-multiple teams scenario, this must apply to the integrated product increment.
Tip: When multiple teams working on a single product, teams should adopt a common Definition of ‘Done’ for their combined Product Increment. If teams have not integrated their work by end of the Sprint, it should not be considered as ‘Done’.
End-Note: Definition of ‘Done’ increases transparency in the Scrum framework. It builds a shared understanding across all interesting parties. It also helps in building Self-organisations in the team. But it is not static. It is dynamic that gets better over time.
Hope you have enjoyed the article. If yes, please let me know what did you like; else, let me know what did you not like. Be Agile and Keep Learning.