Bug report template (with example)
A free bug report template with a filled-in example: title, steps to reproduce, expected and actual result, severity, priority and environment.
A bug report template is a fixed set of fields for describing a bug: a clear title, the steps to reproduce it, the expected and actual result, the environment, and its severity and priority. A good report lets a developer reproduce the problem on the first try, without asking questions.
Bug report template
| Field | What to write |
|---|---|
| Title | What is wrong and where, in one line |
| Environment | Where it happened: staging or production, browser and version, device, app version |
| Preconditions | State before the steps: user role, data, settings |
| Steps to reproduce | Numbered steps from a known starting point |
| Expected result | What should have happened |
| Actual result | What happened instead, with the exact error text |
| Severity | How bad the effect is: critical, high, medium or low |
| Priority | How soon it should be fixed |
| Attachments | Screenshot, short video, console or network log |
| How often | Always, sometimes (for example 3 of 10 tries) or once |
Bug report example
| Field | Example |
|---|---|
| Title | Cart: discount code SPRING10 is applied twice after page refresh |
| Environment | Staging, build of 3 March; Chrome on Windows 11; desktop |
| Preconditions | Signed in as a customer; one product of 50 EUR in the cart |
| Steps to reproduce | 1. Open the cart. 2. Enter SPRING10 and select Apply. 3. Refresh the page. 4. Look at the total. |
| Expected result | Total is 45 EUR; the code is listed once |
| Actual result | Total is 40.50 EUR; the code is listed twice |
| Severity | High: customers pay less than they should |
| Priority | High: fix before the spring release |
| Attachments | Screenshot of the cart after the refresh |
| How often | Always (5 of 5 tries) |
Severity vs priority
| Severity | Priority | |
|---|---|---|
| Answers | How bad is the effect? | How soon do we fix it? |
| Set by | Usually the tester | Usually the product owner or team lead |
| Based on | Impact on users and data | Business needs and the release plan |
| Example | A typo on the home page is low severity | The same typo in the company name can still be high priority |
How to write a good bug report
- 1One bug per report. Two problems in one report are hard to track and close.
- 2Put the what and the where in the title, such as "Checkout: Pay button stays disabled after a valid card".
- 3Reproduce it before you report it, and note how often it happens.
- 4Start the steps from a known place, such as the sign-in page, and include the test data.
- 5Describe facts, not guesses. Write what you saw; add your idea of the cause as a separate note.
- 6Attach evidence: a screenshot or short video, plus the error text.
- 7Check for duplicates before you file a new report.
Using the template in a bug tracker or a spreadsheet
The template works in any tool. In a bug tracker such as Jira or GitHub Issues, use the fields as headings in the description, and save them as an issue template if the tool supports it. In a spreadsheet, use one row per bug and one column per field, plus a status column.
Common mistakes
- Titles such as "Checkout broken" that say nothing specific.
- Missing steps, so the developer cannot reproduce the bug.
- No environment, when the bug only happens in one browser.
- Mixing up severity and priority.
- Reporting a bug that only shows up sometimes without saying how often. Bugs that come and go may be flaky tests or timing problems.
After the fix
When a bug is fixed, retest it with the same steps, then run the regression tests around it. Turn the steps into a test case so the bug cannot come back unnoticed.
Tebugging offers team collaboration with role-based access, so testers and developers work in the same project, and AI-powered reporting and analysis of test results.
Frequently asked questions
What should a bug report include?+
A specific title, the environment, steps to reproduce, the expected and actual result, severity and priority, and evidence such as a screenshot or the error text.
What is the difference between severity and priority?+
Severity says how bad the effect of the bug is. Priority says how soon it should be fixed. A low-severity bug can still have high priority, and the other way round.
Who writes bug reports?+
Anyone who finds a bug: testers, developers, support staff or business users during UAT. A shared template keeps the reports consistent.
What if I cannot reproduce the bug?+
Report it anyway, say that it happened once, and add everything you know: time, account, browser and what you did just before. Logs from that moment often help the developer.
Keep reading
New to a term? See the QA and AI testing glossary.
Plan, run and analyze your web tests with AI.
Start on the free plan. No credit card required.
Start Testing Free