How to handle bugs in Sprint Planning: story points, capacity and a bug budget

Should bugs get story points? How much sprint capacity should you keep for them? What the sources say, and five steps to set a bug budget from your own data.

Lazy Scrum teamLazy Scrum · 5 min read
LazyScrum blog cover: How to handle bugs in Sprint Planning, with the stat 58% of developer time goes to new features, from the Atlassian AI SDLC Index

How to handle bugs in Sprint Planning without losing the plan

Sooner or later every Sprint Planning hits the same question. The team commits to stories. Then bugs arrive mid-sprint and push the plan aside. So how do you handle bugs in Sprint Planning? Do they get story points? Do you keep capacity free for them, and how much?

There is fresh data on why this matters. Atlassian's AI SDLC Index, published on 18 November 2026, says developers still spend roughly 58% of their time building new features. The rest goes to maintenance and other work. SD Times, covering the same index, notes that this share has been almost flat for two years. The index uses data from DX, Atlassian's engineering intelligence platform, across more than 500 engineering organizations. Read it as vendor data, not an independent study.

That means about four hours in ten go somewhere other than new features. If your Sprint Planning acts as if every hour goes to stories, the gap shows up later as rollover.

Should bugs get story points?

There is no single rule, and well-known sources disagree.

  • Mountain Goat Software recommends giving points to bug fixing. Its reasoning: velocity then reflects the team's true capacity, and you can still see how much effort went to bugs each sprint.
  • The accepted answer to a popular Atlassian Community question suggests a fixed point value per bug for planning. It also warns that bug points then show up in velocity, which the author calls "very very bad".
  • On the Scrum.org forum, one practitioner draws a useful line. Don't estimate a defect you find and fix inside the sprint, because the original item's estimate should cover it. Do estimate bugs that go back to the Product Backlog.

That last split works for most teams. A bug in work you started this sprint is part of finishing that work. A bug from production or an older release is new work. It competes for the same hours as any story.

Whichever way you choose, keep it consistent. If bugs get points in one sprint and none in the next, velocity stops meaning anything. We showed how this kind of drift breaks the numbers in why the Jira velocity chart doesn't match the sprint report.

How much sprint capacity to keep for bugs

There is no standard percentage. One reply on the Scrum.org forum suggests keeping 5 to 10% of the Sprint Backlog for unexpected issues and defects. That is one practitioner's view, not a benchmark. Your own history is a better guide.

minware describes a simple metric for this, the bug time ratio: time spent on bugs divided by total engineering time, times 100. Its advice is to carve out consistent sprint capacity for bugs instead of letting them pile up.

Bugs as they come vs a planned bug budget in Sprint Planning

Here is a practical way to set your own number:

  1. Measure the last three to five sprints. How many hours or points went to bug fixing, and how many to enhancements? Pull resolved items from Jira and split them by type.
  2. Turn it into a budget. Say bugs took about 20% on average. Then keep about 20% of capacity free for bugs in the next sprint, and don't fill that space with stories.
  3. Separate the two kinds of bugs. Defects in this sprint's own work stay inside their stories. Backlog bugs get estimated and pulled in like any other item, inside the budget.
  4. Agree on what breaks the budget. A production incident can override the plan. Decide with the Product Owner what counts as urgent, so not every bug becomes urgent.
  5. Review the ratio at the end of every sprint. If bug work keeps rising, take it to the Retrospective. It is a quality signal, not only a planning problem.

When bugs keep eating the plan

If the bug share grows sprint after sprint, the budget only hides the problem. Look at where the bugs come from. Are most of them in code from the last two sprints? That points at rework, and at a Definition of Done that lets weak work through. Bugs added mid-sprint are also one of the common reasons work rolls over, as we covered in sprint rollover causes.

Knowing your real bug ratio before you plan

Step 1 is where most teams stop, because pulling the split out of Jira by hand takes time. The Measure report in LazyScrum shows bug fixing against enhancement work, and the rework, for each sprint. That gives you the ratio for step 2 without a spreadsheet.

Then, during live Sprint Planning on top of Jira, you see each person's real capacity on a 30-minute timeline. So the bug budget from step 2 shows up as hours kept free, not as a note someone forgets by day three. You can try it on your next sprint with the 7-day free trial at lazyscrum.com.

Over to you

Does your team give bugs story points, keep a fixed budget, or handle them as they come? What share of your last sprint went to bugs?

Sources: Atlassian: Introducing the Atlassian AI SDLC Index (18 Nov 2026, data from DX) · SD Times: Atlassian AI SDLC Index (18 Nov 2026) · Mountain Goat Software: Should story points be assigned to a bug fixing story? · Atlassian Community: How do you handle bugs during sprint planning? · Scrum.org forum: How to manage bugs in an iteration (2022) · minware: Bug time ratio

Run your next sprint planning in Lazy Scrum

A timed, measured planning session on your Jira or Azure DevOps board. Every plan starts with a free trial; no card needed.

All posts
    How to handle bugs in Sprint Planning: story points and capacity · Lazy Scrum