JEEKSSHIRE 24

Bug reports and defect tracking: from description to fix

A bug report is a description of a defect that lets another person reproduce it, understand it and verify the fix. A good report has a short title, steps to reproduce, expected and actual results, the environment and evidence: a screenshot, a recording or the error text. Each defect gets a severity, meaning how much harm it does, and a priority, meaning how urgently it should be fixed. The bug then moves through a clear life cycle from new to closed, and the client reports problems through one agreed channel rather than a scatter of messages.

Open the software development page

Why write a bug report instead of just saying "it doesn't work"

"Payment doesn't work" is an alarm, not a task. The developer does not know on which device, for which user, after which actions and what exactly the person saw. The first hours go into questions, and sometimes the bug can never be reproduced and is closed as "cannot reproduce".

A bug report solves this: it captures everything needed for any team member to reproduce the defect without its author. A good report saves time for both sides, the person who found the bug and the person who fixes it. The overall picture of the checks in which bugs are found is described in the guide to software testing types and levels.

What a good bug report contains

FieldWhat to writeExample
TitleWhat broke and where, in one sentencePromo code is not applied in the cart on iPhone
StepsNumbered actions from the start1. Sign in. 2. Add a product. 3. Enter the promo code
Expected resultWhat should have happenedThe total drops by the discount
Actual resultWhat actually happenedThe total does not change, no error shown
EnvironmentDevice, OS, browser, app versioniPhone, iOS, app build from TestFlight
EvidenceScreenshot, screen recording, error text, timeScreen recording, time of the event
Severity and priorityHow harmful and how urgentHigh, fix in the next release

A few rules speed things up a lot: one bug per report; steps written so that someone seeing the product for the first time can follow them; no mixing of the description with guesses about the cause. If you have a hypothesis, put it on a separate line.

Severity and priority: what is the difference

These two fields are often confused. Severity describes how much the defect harms the product and its users. Priority is the order in which the team fixes it. They usually match, but not always: a typo in the company name on the home page breaks nothing yet will be fixed urgently, while a crash in a rare report used once a quarter can wait a few days.

SeverityWhat it meansExample
CriticalThe product or main scenario is unavailable, money or data at riskPayment fails for all customers
HighAn important feature does not work, no workaroundBooking notifications are not sent
MediumA feature works with an error, there is a workaroundA filter resets after returning to the screen
LowCosmetic, does not block workMisaligned spacing in the page footer

Priority is usually set by whoever owns the product on the client's or the team's side, taking into account the business, deadlines and the release plan. In a support contract, priorities are tied to response times; how this works is explained in the guide to software support and SLA.

The bug life cycle: from new to closed

Every defect in a tracker has a status that shows who is responsible for the next step. Teams use different names, but the meaning is similar:

  1. New: the report has been created and is waiting for triage.
  2. Confirmed: the team reproduced the bug and assigned severity, priority and an owner.
  3. In progress: a developer is looking for the cause and fixing it.
  4. Fixed: the change is ready and waiting for a check in the test environment.
  5. Verified: the reporter or a tester has confirmed the bug is gone and nothing nearby broke.
  6. Closed: the fix has shipped to the live version.

There are side branches too: "cannot reproduce" means more data is needed; "duplicate" means the bug is already filed; "not a bug" means the product works as agreed and the request is really a change; "reopened" means the fix did not help or the bug came back. To keep it from coming back, a fixed bug is pinned with a test; see the guide to test automation and the test pyramid.

Where to track bugs: a tracker instead of chat

Bugs that live in a messenger get lost: the message scrolls away, nobody turns "we'll take a look" into a task, and a month later no one can tell what was fixed and what was not. That is why bugs are kept in a task tracker where each one has a number, a status, an owner and a history.

How a client should report bugs to a contractor

A client does not need to become a tester, but a few habits make fixes faster and prevent disputes:

Which bugs the contractor fixes after handover, and how quickly, is best settled before acceptance. What else to check when a project is handed over is described in the guide to software project acceptance.

Bug, change request or wish

Half of the disputes between a client and a contractor start with one question: is this a bug or not. The rule of thumb is simple: compare with what was agreed. If the product behaves differently from what is written in the task, the mockups or the acceptance scenarios, it is a bug. If it works as agreed but real life needs something else, it is a change request. If the idea appeared after launch, it is a wish that gets estimated and planned.

That is why it matters to write down testable requirements before development. The more precisely the expected behaviour is described, the fewer reasons there are to argue about what counts as a bug.

Common mistakes in handling bugs

How we handle bugs at JEEKSSHIRE 24

Bugs we find go into a tracker with steps, environment and severity, and a fix goes through the same checks as any other change: build, lint and tests before deployment. Bugs that can be caught automatically are pinned with tests. After launch, failures show up in alerts, and we often learn about a problem before a user writes about it.

We agree on how bugs are reported, their priorities and response times with the client as part of software support and maintenance. If you are launching a product or looking for a team to maintain one that is already live, describe the task on the custom software development page; for web products, see web app development.

Frequently asked questions

What is a bug in simple terms?

A defect in a program: the product behaves differently from what was intended and agreed. For example, it calculates a total incorrectly, does not save data or shows someone else's information.

What must a bug report include?

A short title, steps to reproduce, expected and actual results, the device and the OS or browser version, the time and a screenshot or screen recording.

How is bug severity different from priority?

Severity shows how much the defect harms the product, and priority shows how urgently to fix it. They usually match, but a small visible typo may be fixed before a serious but rare defect.

What if a bug cannot be reproduced?

Collect more data: the exact time, the user, the device, the app version and a screen recording. Using the time and the user, the developer looks for the event in the server logs.

Who sets a bug's priority?

Usually the person responsible for the product: on the client's side or the contractor's project lead. They weigh the harm to the business, deadlines and the release plan.

Can bugs be reported in a messenger?

For an urgent signal, yes, but every bug must end up in the tracker with a number and a status. Otherwise messages get lost and it is hard to tell what has been fixed.

How do you tell a bug from a change request?

Compare with what was agreed: if the product behaves differently from the task or mockups, it is a bug. If it works as agreed but needs to be different, it is a change request.

What does the reopened status mean?

That the fix did not help or the bug came back after a new release. The task goes back to the developer, and after the second fix it is worth adding an automated test.

IP geolocation by DB-IP