SlideShare a Scribd company logo
1 of 7
Download to read offline
Agile
Bug-Fixing
Priority! Backlog! Estimate!
Should Bugs be added to the Backlog? Should Bugs be estimated? Should all Bugs get
fixed in the last Sprint? Should each Sprint contain a time box for Bug Fixing?
This best practice is based on my experience, which I gained with scaled and distributed
teams. It is tailored to situations which are so complex that processes and tools are
required and cannot be fully substituted by individuals and interactions.
Essentials
1. At the end of a Sprint, any new Increment must be
“Done,” which means it must be in useable
condition and meet the Scrum Team’s definition of
“Done” [Scrum Guide and 7th Agile Principle].
That means it needs to be free of Bugs before it
counts towards velocity.
2. The Product Backlog lists all features, functions,
requirements, enhancements, and fixes that
constitute the changes to be made to the product
in future releases [Scrum Guide].
2016-06-11Armin M. Hoffmann 2
Fix Bugs immediately
3. Bugs are fixed by the developer who was working on the topic before.
There is no separate bug fixing team.
Only this will promote ownership for working software and ensure that
Bugs can be fixed by a knowledgeable Team Member.
4. Bug Fixing always has priority over additional Product Backlog Items
(PBIs / User Stories).
Only with this approach the most valuable software gets "Done"
[1st Agile Principle] and Technical Debt is avoided [9th Agile Principle].
5. Bugs caused by a PBI should be fixed in the same Sprint as that PBI
is worked on. The Team is responsible for avoiding too much carry
over into the next Sprint.
6. Bug Fixing is included in the upfront effort estimate of each PBI.
This ensures that only those PBIs that actually can be delivered
as working software (Definition of "Done") are selected for a Sprint.
2016-06-11Armin M. Hoffmann 3
PBIs need to be “Done”
7. At the end of the Sprint the Product Owner decides if a PBI is "Done" based on the
Acceptance Criteria.
8. As an exception, if the product is potentially shippable, he even can accept a PBI,
if not all Bugs related to this PBI are fixed. Then these Bugs are converted into
new PBIs and the original PBI is "Done". In this exceptional case the original and
the new PBI count towards velocity. The Product Owner is responsible for avoiding
such low priority functions to be part of the original PBI.
9. In all other cases if not all Bugs were fixed during the Sprint, the PBI is not "Done"
and does not count towards velocity. Then the PBI is moved back to the Backlog
and is handled as any other PBI, but usually will get selected again for the next
Sprint.
The remaining effort for Bug Fixing is estimated in the same way as any other PBI
would be, because Bug Fixing reduces Sprint capacity. As always estimates don’t
need to be 100% accurate. If absolutely necessary, an investigation (Bug Spike as
part of the original PBI) may be conducted first to gather enough information. As
for any other development work, the effort is not time boxed to the estimate,
because the priority remains on delivering the most valuable items first.
2016-06-11Armin M. Hoffmann 4
Fix remaining Bugs early
10. If efforts for Bug Fixing reach the Sprint capacity, no new PBI can be
selected into the Sprint, resulting in a pure Bug Fixing Sprint. The
Team is responsible for avoiding so many Bugs.
11. Bug Fixing should be accomplished at the beginning of the Sprint.
There are many advantages: the original PBI is still known; the whole
Team can focus and collaborate on bug fixing to start new PBIs
based on a clean code base; and they can be re-tested
independently of new PBIs.
12. As soon as all Bugs of a PBI are fixed, the PBI is "Done" and counts
with its original estimate towards velocity. But the Bug Fixing efforts
(although estimated) do not count towards velocity.
Bug Fixing itself is waste (idle work), it does not earn business value,
only the original PBI does. Because working software is the primary
measure of progress, not the accomplished work.
2016-06-11Armin M. Hoffmann 5
Late Bugs are new PBIs
13.There also may be the case, that a Bug is only
discovered long time after implementation (e.g.
in Production). Fixing such a Bug is captured
as a new PBI that is prioritized by the Product
Owner and handled in the same way as any
other PBI.
If the Product Owner wants to stay flexible to
resolve Issues and Bugs from Productions
instantaneously (during the Sprint), he could
advice the Team to reduce the Sprint forecast
(capacity based on the velocity) accordingly.
2016-06-11Armin M. Hoffmann 6
Empiricism
14.As Scrum is based on experience and making
decisions based on what is known, each team
must inspect and adapt these procedures
during Sprint Review and Retrospective.
2016-06-11Armin M. Hoffmann 7
So I only have my teams to start with this approach. After a few Sprints experience
they then can modify the approach to meet their specific situation.

More Related Content

What's hot

Adrian marinica continuous integration in the visual studio world
Adrian marinica   continuous integration in the visual studio worldAdrian marinica   continuous integration in the visual studio world
Adrian marinica continuous integration in the visual studio worldCodecamp Romania
 
Inverting Test Pyramid - A First Hand Experience Report
Inverting Test Pyramid - A First Hand Experience ReportInverting Test Pyramid - A First Hand Experience Report
Inverting Test Pyramid - A First Hand Experience ReportNaresh Jain
 
Integration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaSIntegration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaSAnand Bagmar
 
Test Automation Pyramid
Test Automation PyramidTest Automation Pyramid
Test Automation PyramidvodQA
 
How to establish ways of working that allows shifting-left of the automation ...
How to establish ways of working that allows shifting-left of the automation ...How to establish ways of working that allows shifting-left of the automation ...
How to establish ways of working that allows shifting-left of the automation ...Max Barrass
 
Inverting The Testing Pyramid
Inverting The Testing PyramidInverting The Testing Pyramid
Inverting The Testing PyramidNaresh Jain
 
UI Automation Quirks
UI Automation QuirksUI Automation Quirks
UI Automation QuirksLucas Pang
 
The 10 Commandments of Release Engineering
The 10 Commandments of Release EngineeringThe 10 Commandments of Release Engineering
The 10 Commandments of Release EngineeringSolano Labs
 
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and DeliveryUsg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and DeliveryStephen Garrett
 
How to push a react js application in production and sleep better
How to push a react js application in production and sleep betterHow to push a react js application in production and sleep better
How to push a react js application in production and sleep betterEmanuele Rampichini
 
Continuous integration in large programs
Continuous integration in large programsContinuous integration in large programs
Continuous integration in large programsNaveen Kumar Singh
 
Software Testing, Everyone's responsibility
Software Testing, Everyone's responsibilitySoftware Testing, Everyone's responsibility
Software Testing, Everyone's responsibilityKurt Bliefernich
 
Testing, CI and CD in the real world
Testing, CI and CD in the real worldTesting, CI and CD in the real world
Testing, CI and CD in the real worldRoc Boronat
 
Qa in CI/CD
Qa in CI/CDQa in CI/CD
Qa in CI/CDAdsmurai
 
Introduction to continuous delivery
Introduction to continuous deliveryIntroduction to continuous delivery
Introduction to continuous deliveryLeena N
 
Agile lessons learned in the Microsoft ALM Rangers
Agile lessons learned in the Microsoft ALM RangersAgile lessons learned in the Microsoft ALM Rangers
Agile lessons learned in the Microsoft ALM RangersRobert MacLean
 
Adventures with Microservices
Adventures with MicroservicesAdventures with Microservices
Adventures with MicroservicesAnand Agrawal
 
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine KisituDevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine KisituThoughtworks
 
ISTQB Foundation and Selenium Java Automation Testing
ISTQB Foundation and Selenium Java Automation TestingISTQB Foundation and Selenium Java Automation Testing
ISTQB Foundation and Selenium Java Automation TestingHiraQureshi22
 

What's hot (20)

Adrian marinica continuous integration in the visual studio world
Adrian marinica   continuous integration in the visual studio worldAdrian marinica   continuous integration in the visual studio world
Adrian marinica continuous integration in the visual studio world
 
Inverting Test Pyramid - A First Hand Experience Report
Inverting Test Pyramid - A First Hand Experience ReportInverting Test Pyramid - A First Hand Experience Report
Inverting Test Pyramid - A First Hand Experience Report
 
Integration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaSIntegration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaS
 
Test Automation Pyramid
Test Automation PyramidTest Automation Pyramid
Test Automation Pyramid
 
How to establish ways of working that allows shifting-left of the automation ...
How to establish ways of working that allows shifting-left of the automation ...How to establish ways of working that allows shifting-left of the automation ...
How to establish ways of working that allows shifting-left of the automation ...
 
Inverting The Testing Pyramid
Inverting The Testing PyramidInverting The Testing Pyramid
Inverting The Testing Pyramid
 
UI Automation Quirks
UI Automation QuirksUI Automation Quirks
UI Automation Quirks
 
The 10 Commandments of Release Engineering
The 10 Commandments of Release EngineeringThe 10 Commandments of Release Engineering
The 10 Commandments of Release Engineering
 
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and DeliveryUsg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
Usg Web Tech Day 2016 - Continuous Integration, Deployment, and Delivery
 
How to push a react js application in production and sleep better
How to push a react js application in production and sleep betterHow to push a react js application in production and sleep better
How to push a react js application in production and sleep better
 
Continuous integration in large programs
Continuous integration in large programsContinuous integration in large programs
Continuous integration in large programs
 
Software Testing, Everyone's responsibility
Software Testing, Everyone's responsibilitySoftware Testing, Everyone's responsibility
Software Testing, Everyone's responsibility
 
Testing, CI and CD in the real world
Testing, CI and CD in the real worldTesting, CI and CD in the real world
Testing, CI and CD in the real world
 
Qa in CI/CD
Qa in CI/CDQa in CI/CD
Qa in CI/CD
 
Bugsbusters Meetup - Continuous Integration for dummies
Bugsbusters Meetup - Continuous Integration for dummiesBugsbusters Meetup - Continuous Integration for dummies
Bugsbusters Meetup - Continuous Integration for dummies
 
Introduction to continuous delivery
Introduction to continuous deliveryIntroduction to continuous delivery
Introduction to continuous delivery
 
Agile lessons learned in the Microsoft ALM Rangers
Agile lessons learned in the Microsoft ALM RangersAgile lessons learned in the Microsoft ALM Rangers
Agile lessons learned in the Microsoft ALM Rangers
 
Adventures with Microservices
Adventures with MicroservicesAdventures with Microservices
Adventures with Microservices
 
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine KisituDevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
 
ISTQB Foundation and Selenium Java Automation Testing
ISTQB Foundation and Selenium Java Automation TestingISTQB Foundation and Selenium Java Automation Testing
ISTQB Foundation and Selenium Java Automation Testing
 

Similar to Agile Bug Fixing Priority

Continuous integration
Continuous integrationContinuous integration
Continuous integrationBoris Dominic
 
Feature Scoring in Green Field Application Development and DevOps
Feature Scoring in Green Field Application Development and DevOpsFeature Scoring in Green Field Application Development and DevOps
Feature Scoring in Green Field Application Development and DevOpsDevOps Indonesia
 
Scrum process framework
Scrum process frameworkScrum process framework
Scrum process frameworkIheb OMRI
 
Why your SAP PI/PO system should be updated
Why your SAP PI/PO system should be updatedWhy your SAP PI/PO system should be updated
Why your SAP PI/PO system should be updatedDaniel Graversen
 
Bug life cycle
Bug life cycleBug life cycle
Bug life cycleBugRaptors
 
Static analysis is most efficient when being used regularly. We'll tell you w...
Static analysis is most efficient when being used regularly. We'll tell you w...Static analysis is most efficient when being used regularly. We'll tell you w...
Static analysis is most efficient when being used regularly. We'll tell you w...PVS-Studio
 
Quality Assurance Guidelines for Mobile App Development
Quality Assurance Guidelines for Mobile App DevelopmentQuality Assurance Guidelines for Mobile App Development
Quality Assurance Guidelines for Mobile App DevelopmentMoqod
 
Quality Assurance Guidelines
Quality Assurance GuidelinesQuality Assurance Guidelines
Quality Assurance GuidelinesTim Stribos
 
Software testing
Software testingSoftware testing
Software testingAeroqube
 
The Journey of Test Automation
The Journey of Test AutomationThe Journey of Test Automation
The Journey of Test Automationopkey
 
Agile testing overview
Agile testing overviewAgile testing overview
Agile testing overviewraianup
 
Software testing main
Software testing mainSoftware testing main
Software testing mainYogeshDhamke2
 

Similar to Agile Bug Fixing Priority (20)

Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
Feature Scoring in Green Field Application Development and DevOps
Feature Scoring in Green Field Application Development and DevOpsFeature Scoring in Green Field Application Development and DevOps
Feature Scoring in Green Field Application Development and DevOps
 
Testing.ppt
Testing.pptTesting.ppt
Testing.ppt
 
Agile methodology
Agile methodologyAgile methodology
Agile methodology
 
Testing
TestingTesting
Testing
 
Testing.ppt
Testing.pptTesting.ppt
Testing.ppt
 
Testing.ppt
Testing.pptTesting.ppt
Testing.ppt
 
Testing.ppt
Testing.pptTesting.ppt
Testing.ppt
 
Scrum process framework
Scrum process frameworkScrum process framework
Scrum process framework
 
Why your SAP PI/PO system should be updated
Why your SAP PI/PO system should be updatedWhy your SAP PI/PO system should be updated
Why your SAP PI/PO system should be updated
 
Bug life cycle
Bug life cycleBug life cycle
Bug life cycle
 
Static analysis is most efficient when being used regularly. We'll tell you w...
Static analysis is most efficient when being used regularly. We'll tell you w...Static analysis is most efficient when being used regularly. We'll tell you w...
Static analysis is most efficient when being used regularly. We'll tell you w...
 
Quality Assurance Guidelines for Mobile App Development
Quality Assurance Guidelines for Mobile App DevelopmentQuality Assurance Guidelines for Mobile App Development
Quality Assurance Guidelines for Mobile App Development
 
Quality Assurance Guidelines
Quality Assurance GuidelinesQuality Assurance Guidelines
Quality Assurance Guidelines
 
Software testing
Software testingSoftware testing
Software testing
 
The Journey of Test Automation
The Journey of Test AutomationThe Journey of Test Automation
The Journey of Test Automation
 
Agile testing overview
Agile testing overviewAgile testing overview
Agile testing overview
 
Agile testingoverview
Agile testingoverviewAgile testingoverview
Agile testingoverview
 
Software testing main
Software testing mainSoftware testing main
Software testing main
 
Building an app from scratch
Building an app from scratchBuilding an app from scratch
Building an app from scratch
 

Recently uploaded

LPC Operations Review PowerPoint | Operations Review
LPC Operations Review PowerPoint | Operations ReviewLPC Operations Review PowerPoint | Operations Review
LPC Operations Review PowerPoint | Operations Reviewthomas851723
 
ANIn Gurugram April 2024 |Can Agile and AI work together? by Pramodkumar Shri...
ANIn Gurugram April 2024 |Can Agile and AI work together? by Pramodkumar Shri...ANIn Gurugram April 2024 |Can Agile and AI work together? by Pramodkumar Shri...
ANIn Gurugram April 2024 |Can Agile and AI work together? by Pramodkumar Shri...AgileNetwork
 
Fifteenth Finance Commission Presentation
Fifteenth Finance Commission PresentationFifteenth Finance Commission Presentation
Fifteenth Finance Commission Presentationmintusiprd
 
Day 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC BootcampDay 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC BootcampPLCLeadershipDevelop
 
crisiscommunication-presentation in crisis management.pptx
crisiscommunication-presentation in crisis management.pptxcrisiscommunication-presentation in crisis management.pptx
crisiscommunication-presentation in crisis management.pptxSamahhassan30
 
CALL ON ➥8923113531 🔝Call Girls Charbagh Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Charbagh Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Charbagh Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Charbagh Lucknow best sexual serviceanilsa9823
 
Reflecting, turning experience into insight
Reflecting, turning experience into insightReflecting, turning experience into insight
Reflecting, turning experience into insightWayne Abrahams
 
CEO of Google, Sunder Pichai's biography
CEO of Google, Sunder Pichai's biographyCEO of Google, Sunder Pichai's biography
CEO of Google, Sunder Pichai's biographyHafizMuhammadAbdulla5
 
Pooja Mehta 9167673311, Trusted Call Girls In NAVI MUMBAI Cash On Payment , V...
Pooja Mehta 9167673311, Trusted Call Girls In NAVI MUMBAI Cash On Payment , V...Pooja Mehta 9167673311, Trusted Call Girls In NAVI MUMBAI Cash On Payment , V...
Pooja Mehta 9167673311, Trusted Call Girls In NAVI MUMBAI Cash On Payment , V...Pooja Nehwal
 
LPC Warehouse Management System For Clients In The Business Sector
LPC Warehouse Management System For Clients In The Business SectorLPC Warehouse Management System For Clients In The Business Sector
LPC Warehouse Management System For Clients In The Business Sectorthomas851723
 
Introduction to LPC - Facility Design And Re-Engineering
Introduction to LPC - Facility Design And Re-EngineeringIntroduction to LPC - Facility Design And Re-Engineering
Introduction to LPC - Facility Design And Re-Engineeringthomas851723
 
VIP Kolkata Call Girl Rajarhat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Rajarhat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Rajarhat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Rajarhat 👉 8250192130 Available With Roomdivyansh0kumar0
 
Board Diversity Initiaive Launch Presentation
Board Diversity Initiaive Launch PresentationBoard Diversity Initiaive Launch Presentation
Board Diversity Initiaive Launch Presentationcraig524401
 

Recently uploaded (17)

LPC Operations Review PowerPoint | Operations Review
LPC Operations Review PowerPoint | Operations ReviewLPC Operations Review PowerPoint | Operations Review
LPC Operations Review PowerPoint | Operations Review
 
sauth delhi call girls in Defence Colony🔝 9953056974 🔝 escort Service
sauth delhi call girls in Defence Colony🔝 9953056974 🔝 escort Servicesauth delhi call girls in Defence Colony🔝 9953056974 🔝 escort Service
sauth delhi call girls in Defence Colony🔝 9953056974 🔝 escort Service
 
ANIn Gurugram April 2024 |Can Agile and AI work together? by Pramodkumar Shri...
ANIn Gurugram April 2024 |Can Agile and AI work together? by Pramodkumar Shri...ANIn Gurugram April 2024 |Can Agile and AI work together? by Pramodkumar Shri...
ANIn Gurugram April 2024 |Can Agile and AI work together? by Pramodkumar Shri...
 
Fifteenth Finance Commission Presentation
Fifteenth Finance Commission PresentationFifteenth Finance Commission Presentation
Fifteenth Finance Commission Presentation
 
Becoming an Inclusive Leader - Bernadette Thompson
Becoming an Inclusive Leader - Bernadette ThompsonBecoming an Inclusive Leader - Bernadette Thompson
Becoming an Inclusive Leader - Bernadette Thompson
 
Day 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC BootcampDay 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC Bootcamp
 
crisiscommunication-presentation in crisis management.pptx
crisiscommunication-presentation in crisis management.pptxcrisiscommunication-presentation in crisis management.pptx
crisiscommunication-presentation in crisis management.pptx
 
CALL ON ➥8923113531 🔝Call Girls Charbagh Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Charbagh Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Charbagh Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Charbagh Lucknow best sexual service
 
Reflecting, turning experience into insight
Reflecting, turning experience into insightReflecting, turning experience into insight
Reflecting, turning experience into insight
 
CEO of Google, Sunder Pichai's biography
CEO of Google, Sunder Pichai's biographyCEO of Google, Sunder Pichai's biography
CEO of Google, Sunder Pichai's biography
 
Pooja Mehta 9167673311, Trusted Call Girls In NAVI MUMBAI Cash On Payment , V...
Pooja Mehta 9167673311, Trusted Call Girls In NAVI MUMBAI Cash On Payment , V...Pooja Mehta 9167673311, Trusted Call Girls In NAVI MUMBAI Cash On Payment , V...
Pooja Mehta 9167673311, Trusted Call Girls In NAVI MUMBAI Cash On Payment , V...
 
LPC Warehouse Management System For Clients In The Business Sector
LPC Warehouse Management System For Clients In The Business SectorLPC Warehouse Management System For Clients In The Business Sector
LPC Warehouse Management System For Clients In The Business Sector
 
Introduction to LPC - Facility Design And Re-Engineering
Introduction to LPC - Facility Design And Re-EngineeringIntroduction to LPC - Facility Design And Re-Engineering
Introduction to LPC - Facility Design And Re-Engineering
 
Call Girls Service Tilak Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SERVICE
Call Girls Service Tilak Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SERVICECall Girls Service Tilak Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SERVICE
Call Girls Service Tilak Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SERVICE
 
Rohini Sector 16 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 16 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 16 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 16 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
VIP Kolkata Call Girl Rajarhat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Rajarhat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Rajarhat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Rajarhat 👉 8250192130 Available With Room
 
Board Diversity Initiaive Launch Presentation
Board Diversity Initiaive Launch PresentationBoard Diversity Initiaive Launch Presentation
Board Diversity Initiaive Launch Presentation
 

Agile Bug Fixing Priority

  • 1. Agile Bug-Fixing Priority! Backlog! Estimate! Should Bugs be added to the Backlog? Should Bugs be estimated? Should all Bugs get fixed in the last Sprint? Should each Sprint contain a time box for Bug Fixing? This best practice is based on my experience, which I gained with scaled and distributed teams. It is tailored to situations which are so complex that processes and tools are required and cannot be fully substituted by individuals and interactions.
  • 2. Essentials 1. At the end of a Sprint, any new Increment must be “Done,” which means it must be in useable condition and meet the Scrum Team’s definition of “Done” [Scrum Guide and 7th Agile Principle]. That means it needs to be free of Bugs before it counts towards velocity. 2. The Product Backlog lists all features, functions, requirements, enhancements, and fixes that constitute the changes to be made to the product in future releases [Scrum Guide]. 2016-06-11Armin M. Hoffmann 2
  • 3. Fix Bugs immediately 3. Bugs are fixed by the developer who was working on the topic before. There is no separate bug fixing team. Only this will promote ownership for working software and ensure that Bugs can be fixed by a knowledgeable Team Member. 4. Bug Fixing always has priority over additional Product Backlog Items (PBIs / User Stories). Only with this approach the most valuable software gets "Done" [1st Agile Principle] and Technical Debt is avoided [9th Agile Principle]. 5. Bugs caused by a PBI should be fixed in the same Sprint as that PBI is worked on. The Team is responsible for avoiding too much carry over into the next Sprint. 6. Bug Fixing is included in the upfront effort estimate of each PBI. This ensures that only those PBIs that actually can be delivered as working software (Definition of "Done") are selected for a Sprint. 2016-06-11Armin M. Hoffmann 3
  • 4. PBIs need to be “Done” 7. At the end of the Sprint the Product Owner decides if a PBI is "Done" based on the Acceptance Criteria. 8. As an exception, if the product is potentially shippable, he even can accept a PBI, if not all Bugs related to this PBI are fixed. Then these Bugs are converted into new PBIs and the original PBI is "Done". In this exceptional case the original and the new PBI count towards velocity. The Product Owner is responsible for avoiding such low priority functions to be part of the original PBI. 9. In all other cases if not all Bugs were fixed during the Sprint, the PBI is not "Done" and does not count towards velocity. Then the PBI is moved back to the Backlog and is handled as any other PBI, but usually will get selected again for the next Sprint. The remaining effort for Bug Fixing is estimated in the same way as any other PBI would be, because Bug Fixing reduces Sprint capacity. As always estimates don’t need to be 100% accurate. If absolutely necessary, an investigation (Bug Spike as part of the original PBI) may be conducted first to gather enough information. As for any other development work, the effort is not time boxed to the estimate, because the priority remains on delivering the most valuable items first. 2016-06-11Armin M. Hoffmann 4
  • 5. Fix remaining Bugs early 10. If efforts for Bug Fixing reach the Sprint capacity, no new PBI can be selected into the Sprint, resulting in a pure Bug Fixing Sprint. The Team is responsible for avoiding so many Bugs. 11. Bug Fixing should be accomplished at the beginning of the Sprint. There are many advantages: the original PBI is still known; the whole Team can focus and collaborate on bug fixing to start new PBIs based on a clean code base; and they can be re-tested independently of new PBIs. 12. As soon as all Bugs of a PBI are fixed, the PBI is "Done" and counts with its original estimate towards velocity. But the Bug Fixing efforts (although estimated) do not count towards velocity. Bug Fixing itself is waste (idle work), it does not earn business value, only the original PBI does. Because working software is the primary measure of progress, not the accomplished work. 2016-06-11Armin M. Hoffmann 5
  • 6. Late Bugs are new PBIs 13.There also may be the case, that a Bug is only discovered long time after implementation (e.g. in Production). Fixing such a Bug is captured as a new PBI that is prioritized by the Product Owner and handled in the same way as any other PBI. If the Product Owner wants to stay flexible to resolve Issues and Bugs from Productions instantaneously (during the Sprint), he could advice the Team to reduce the Sprint forecast (capacity based on the velocity) accordingly. 2016-06-11Armin M. Hoffmann 6
  • 7. Empiricism 14.As Scrum is based on experience and making decisions based on what is known, each team must inspect and adapt these procedures during Sprint Review and Retrospective. 2016-06-11Armin M. Hoffmann 7 So I only have my teams to start with this approach. After a few Sprints experience they then can modify the approach to meet their specific situation.