Skip to main content

Can't estimate that... it's a bug

Last post 11:45 am November 11, 2017 by Ian Mitchell
6 replies
02:28 pm November 10, 2017

I've asked this on another forum but haven't had much luck yet, so I'll try here.

Can someone with more technical knowledge than me explain why this is a common response to the estimation of a bug as a PBI?

"We can't estimate a bug, because it's impossible to know how big a bug is."

How can I try and coach a way around this? 

How might a team running only with Kanban try and break down items on their backlog into relatively similar sizes if the majority of items are bugs, and the response to such an attempt is the above? 


03:25 pm November 10, 2017

Technical debt (so called) is most likely at the root of it. For a new requirement, an estimate can generally be made about how to bolt on new functionality. The hooks for doing so will at least be understood, even though the code providing the hooks started to rot ages ago and is now a mystery.

Fixing a defect means going beyond the hooks to figure out why the system is behaving in unexpected ways, then how to make a fix that doesn’t break something else. That’s where code rot clouds the vision.


09:47 pm November 10, 2017

How might a team running only with Kanban try and break down items on their backlog into relatively similar sizes if the majority of items are bugs, and the response to such an attempt is the above?

They might not do that, on the grounds that breaking-down amounts to time wasted which could be spent doing. It's possible they may be right.

Instead, they might just handle each backlog item as a ticket and rely on averaging-out to give metrics regarding throughput, lead time etc. That is also an approach which can be used in Scrum, and it may make sense if the majority of items are indeed bugs.


10:03 am November 11, 2017

Have you considered putting the user story exhibiting the technical debt back onto the PB instead. At least then the developer might be able to estimate. Even if they have redo the story.

Would it be a candidate for a spike... break from actual work within a sprint to learn about the source of the bug for estimation purpose using the task with the bug as the source? Would that work?

I know some circles frown on spikes but technical debt is even more frowned upon.

Someone with more experience might have a better answer. 


10:45 am November 11, 2017

Spike investigations are technical activities typically unaligned to the Sprint Goal and creating the Done increment. They can be seen as a highly focused kind of refinement, by means of which estimates for future work can be made. Hence there is usually only an appetite on the part of a team to do them by exception. There might be one or two in a Sprint for example. If there are too many of them they can impinge on the technical development effort.

Unfortunately in this situation it sounds as if there are a lot of bugs, and perhaps too many for a team to reasonably spike.


11:10 am November 11, 2017

Instead, they might just handle each backlog item as a ticket and rely on averaging-out to give metrics regarding throughput, lead time etc. That is also an approach which can be used in Scrum, and it may make sense if the majority of items are indeed bugs.

Ok, this is interesting.  So if there are X number of bugs scattered throughout the Product Backlog, a team might base the average effort of previous bugs they've tackled as a team to come up with an estimate.  This would replace trying to determine the cause of the bug first then providing an estimate for the fix.

If a Sprint Goal is "improve the performance of the <something> feature" this might include the estimated Tech Debt/Bug PBIs. The Dev Team can still have a feeling for how much they can do in one Sprint based on this average estimate.


11:45 am November 11, 2017

Yes. The challenge is ensuring that all work, including defect fixes, is accounted for on the Product Backlog. Remember that non-defect items might be estimated in story points.

This could be achieved by estimating each defect simply in terms of the average relative time, effort, and complexity which is empirically observed Sprint by Sprint.


By posting on our forums you are agreeing to our Terms of Use.

Please note that the first and last name from your Scrum.org member profile will be displayed next to any topic or comment you post on the forums. For privacy concerns, we cannot allow you to post email addresses. All user-submitted content on our Forums may be subject to deletion if it is found to be in violation of our Terms of Use. Scrum.org does not endorse user-submitted content or the content of links to any third-party websites.

Terms of Use

Scrum.org may, at its discretion, remove any post that it deems unsuitable for these forums. Unsuitable post content includes, but is not limited to, Scrum.org Professional-level assessment questions and answers, profanity, insults, racism or sexually explicit content. Using our forum as a platform for the marketing and solicitation of products or services is also prohibited. Forum members who post content deemed unsuitable by Scrum.org may have their access revoked at any time, without warning. Scrum.org may, but is not obliged to, monitor submissions.