Manual testing

How to Write a Good Bug Report (with Examples)

By Emad Qasim · November 29, 2026 · 7 min read

A bug report has one job: help a developer see the bug for themselves, quickly. If they have to message you with “which page?”, “which browser?” or “what did you type?”, the report has failed, and the bug sits in the backlog while you go back and forth.

Here’s the structure I use on every project. If you want to skip ahead, the free bug report generator builds it for you.

The 8 parts of a good bug report

1. A title that says where, what and when

Use the pattern Area: what goes wrong, when it happens.

Weak title Strong title
Login broken Login: “Sign in” stays disabled after a saved password is autofilled
Error on checkout Checkout: 500 error when the coupon code has a trailing space
Seats wrong Event detail: available seats don’t update after a booking is cancelled

A strong title is easy to find in a search, easy to spot as a duplicate, and gives the developer a starting point before they even open the ticket.

2. Environment

Give the browser and version, the operating system, the device or screen size, the build number, and the environment (dev, staging or production). Many bugs exist in only one browser or one build. Without this information the developer tests on their own setup, sees nothing wrong, and closes the ticket as “cannot reproduce”.

3. Preconditions

What must be true before step 1? For example: “Logged in as a user who already has 9 bookings”, or “Feature flag new-checkout is on.” Preconditions are often the hidden reason a bug can’t be reproduced.

4. Steps to reproduce

Write numbered steps with one action each, and include the exact test data:

  1. Open /events and select “QA Summit 2027”.
  2. Enter quantity 10 and fill the booking form with valid details.
  3. Click Confirm booking.

Don’t write “book an event”. There are many ways to book an event, and the bug may only happen in one of them.

5. Expected result

State what should happen, based on the requirement, the design, or common sense, for example: “The booking is created and available seats drop from 120 to 110.”

6. Actual result

State what actually happened, as a fact without interpretation, for example: “The booking is created, but available seats still show 120 until the page is refreshed.”

7. Severity and priority

These two get mixed up all the time:

  • Severity is the impact on the product. How bad is it?
  • Priority is the urgency of the fix. How soon should it be fixed?
Example Severity Priority
App crashes on payment Critical Highest
Company name misspelled on the homepage Minor High
Rare crash in an old admin report nobody uses Major Low
Button 2px out of line in the footer Trivial Low

Testers usually set severity. The product owner decides priority, so you can suggest a priority but you don’t make the final call.

8. Evidence

A screenshot with the problem circled, or a 10-second screen recording, saves more time than any paragraph. For API and front-end bugs, also attach:

  • The console error from DevTools
  • The request and response from the Network tab. Paste the JSON through a JSON formatter first so it’s readable.
  • Any request ID or timestamp from the logs

A bad report vs a good report

Bad:

Booking doesn’t work properly. Please fix ASAP.

Good:

Event detail: available seats don’t update after booking until page refresh

Environment: Staging, build 2.4.1, Chrome 131 on macOS 15 · Severity: Moderate · Priority: Medium · Reproducible: Always

Preconditions: logged in as a regular user.

  1. Open any event with available seats (e.g. “QA Summit 2027”, 120 seats).
  2. Book 3 tickets with valid details.
  3. Go back to the event detail page using the browser back button.

Expected: available seats show 117. Actual: available seats still show 120. After a refresh they show 117.

Notes: the API returns availableSeats: 117 (screenshot of the Network tab attached), so this looks like client-side caching.

The second report takes two extra minutes to write. In return, the developer can start on the fix right away.

Five habits that make your reports better

  1. Reproduce it twice before you report. That confirms the steps, and you’ll often find a shorter path.
  2. Search for duplicates first. If the bug is already reported, add your details there instead.
  3. Narrow it down. Does it happen in another browser? With another user? On the previous build? Each answer you add saves the developer an hour.
  4. Stay neutral. Write “the button does nothing”, not “the button is totally broken again”. You’re reporting a defect, not judging the developer.
  5. Retest promptly. Once a bug is fixed, retest it and run a quick regression around it. That builds trust in both directions.

Free template

Copy this into your tracker, or let the bug report generator fill it in for you in Markdown, Jira or plain text:

Title: <Area>: <what goes wrong>, <when>

Environment: <env> · Build: <version> · Browser/OS: <browser, OS, device>
Severity: <Critical/Major/Moderate/Minor/Trivial> · Priority: <Highest/High/Medium/Low>
Reproducible: <Always/Sometimes/Once>
URL: <page>

Preconditions:
<state before step 1>

Steps to reproduce:
1.
2.
3.

Expected result:
Actual result:
Attachments: <screenshot, video, console log, request/response>

FAQ

How long should a bug report be?

As short as possible while still being reproducible. Most good reports fit on one screen. If you need more than about 10 steps, check whether a shorter path shows the same bug.

Should I report several bugs in one ticket?

No. One bug per report. Separate tickets can be assigned, fixed, retested and closed on their own, and none of them gets lost behind another.

What if I can't reproduce the bug again?

Report it anyway, mark it as "Reproducible - Once", and include everything you have, such as the time it happened, the console log, and the network request. Intermittent bugs are often the most serious ones.