How to Write a Bug Report: Template and Examples
A good bug report lets someone who was not there reproduce the problem, understand why it matters and start fixing it without asking you a single question. That means a clear title, exact steps, what you expected, what actually happened, and the environment where it happened. The template and examples below give you all of it.
What a good bug report contains
Developers do not need a story. They need enough to see the bug themselves. Every report should answer six things.
1. A title that says what broke
Write the symptom and where it happens. “Checkout total ignores discount code on annual plan” works. “Checkout broken” does not. A good title is also what lets someone find duplicates in a long list.
2. Steps to reproduce
Numbered, in order, starting from a known state. Include the account type, the data and the exact inputs you used. If you do not have reliable steps yet, report the observed failure, the actions you remember and any evidence. Mark the reproduction steps as incomplete.
3. Expected result
What should have happened, and why you believe that. If a spec, a design or an earlier version says so, point to it.
4. Actual result
What happened instead. Quote error messages exactly. Do not paraphrase them.
5. Environment
Device, operating system and version, browser, app build, network conditions, account or region if relevant. Many bugs only appear on a specific setup, and this field is what separates “cannot reproduce” from fixed. Our whole service is built around this: the tester with the exact device you do not have.
6. Evidence
A screenshot or a short screen recording, plus logs or console output if you can capture them. A ten-second video often replaces three paragraphs.
A bug report template you can copy
Paste this into Jira, Linear, GitHub Issues or a shared sheet.
Title: [Area] Short description of the symptom
Severity: [use your team's agreed scale, for example Blocker / Critical / Major / Minor / Trivial]
Priority: (set by the team in triage)
Environment
- Device:
- OS and version:
- App or browser and build:
- Account / data used:
- Network (if relevant):
Steps to reproduce
1.
2.
3.
Expected result:
Actual result:
Frequency: Always / Often / Sometimes / Once
Evidence: (screenshot, video, logs, console output)
Notes: (workaround, first seen, related reports, suspected cause)
Two small additions that pay off. Frequency helps the developer judge reproducibility; intermittent failures can have several causes, including timing issues. A workaround tells the team how urgent a fix is.
A bad bug report and a good one
The bad one
Title: Payment doesn’t work
I tried to buy the Pro plan and it didn’t work. Please fix ASAP. Happens on my phone.
The developer now has to ask: which phone, which plan, what did “didn’t work” mean, was there an error, did the card get charged. Time-zone differences can make each follow-up take longer.
The good one
Title: [Checkout] Total shows full price after applying LAUNCH20 on annual Pro plan
Severity: Major
Environment: iPhone [model], iOS [version], Safari [version], staging build [ID], new account with no saved cardSteps to reproduce
- Sign up with a new email and open Pricing.
- Select Pro, annual billing.
- At checkout, enter the code LAUNCH20 and tap Apply.
Expected: Total drops by the discount and the line “Launch discount” shows the amount.
Actual: The “Launch discount” line appears with the right amount, but Total still shows the full price. The charge has not been tested.
Frequency: Always, on annual billing. Monthly billing works.
Evidence: Screen recording attached.
That report takes two minutes to write and saves a day of back and forth. It also tells the developer where to look: the annual plan path.
Severity vs. priority
People mix these up all the time, and a bug report that confuses them causes arguments in triage.
- Severity is how much damage the bug does. It is a technical judgment about impact: data loss, crash, wrong result, cosmetic. The tester usually proposes it.
- Priority is how soon the team will fix it. It is a business decision that depends on release dates, how many users are affected and what else is on the plate. The product owner or triage lead sets it.
They describe different things: impact and urgency. They can differ, but impact also informs priority. A typo in the company name on the home page has low severity and high priority, because everyone sees it. A crash in a feature used by two people a year has high severity and low priority. The tester reports severity honestly. The team decides priority.
- High severity, high priority: payment charges the wrong amount.
- High severity, low priority: crash in a rarely used admin screen.
- Low severity, high priority: wrong brand name on the landing page.
- Low severity, low priority: slightly misaligned icon in settings.
Habits that make reports better
- One bug per report. Two bugs in one ticket means one of them gets lost.
- Search before filing. A duplicate costs the triage lead time.
- Reproduce it twice. If you cannot, say so and give the frequency instead of guessing.
- Describe, do not blame. “The total is wrong” helps. “Your code is broken” does not.
- Separate observation from interpretation. Report usability and design problems with the task, observed behavior and impact; label suggestions as suggestions.
Good reports matter even more when the code is AI-generated, because the bugs are often plausible-looking and hard to spot at a glance. We cover that in how to test AI-generated code. And when a whole team files reports in one sitting, as in a bug bash, a shared template is what keeps the log readable.
If you would rather have testers who write reports like the example above from day one, take a look at the plans and pricing.