~/qa-guides/bug-report-template
>_ Bug Report Template: Examples for Reproducible and Intermittent Bugs
The same complaint about a color filter leads to two different tickets. Copy the template and see which steps, observations, and passing attempts belong in each.
Short answer
A bug report template records what someone did, what they expected, and what they actually saw on a specific build. Write one ticket around a symptom another person can recognize. For a reproducible bug, give the shortest sequence you have verified from a known starting state. For an intermittent bug, include a failing attempt and a comparable passing one. Say what changed between them, if you know.
Consider the message "the color filter sometimes breaks." One shopper sees an empty page even though a blue item was visible a moment ago. Another selects Green and gets a full list of blue products. Both might file a ticket titled "Filter broken." The examples below show why those tickets need different steps, evidence, and retests.
Copy the bug report template
Copy the table into your issue tracker or working document. Use the summary as the ticket title. If the tracker already has fields for build or environment, enter those values there once. Atlassian's Jira template also calls for reproduction steps and details about the environment in which the issue occurred. Atlassian's bug report template
| Field | Your report |
|---|---|
| Summary | |
| Build and platform | |
| Setup and data | |
| Steps to reproduce | |
| Expected result | |
| Actual result | |
| Attempts | |
| Impact / workaround | |
| Evidence |
Under Setup and data, record what the next person needs before step one. A role, a saved setting, a particular record, or the current page can all change the result. A quick check such as "the second page shows product B-12" helps the reader discover a setup mismatch before spending time on the rest of the ticket.
For the expected result, cite the acceptance criterion, approved design, or product rule that settles the question. For the actual result, quote the visible message or name the values you saw at the same point in the flow. If the bug came from a failed test case, link that execution so the developer can recover its build and original data. How to write and record a manual test case
Example 1. A reproducible bug when filtering from page 2
CAT-01. Choosing Blue on page 2 shows "No matching products."
Environment and setup. Local teaching catalog, build catalog.17, Chrome 158 on macOS. The catalog has six products and displays two per page. Only B-11 and B-12 are blue. The agreed behavior for this catalog is that selecting a new color takes the shopper to the first page of matches.
Steps to reproduce the empty list
- Open the catalog with Color set to All. Confirm that page 1 shows B-11 and G-21.
- Choose Next. Wait for Ready and confirm that page 2 shows S-31 and B-12.
- Select Blue once. When the status reads Ready, read the page number and the product list.
| Field | CAT-01 observation |
|---|---|
| Expected | Page 1 shows B-11 and B-12 with Blue selected. |
| Actual | Blue is selected. Page 2 shows "No matching products." |
| Attempts | The same three steps produced the empty list on 3 of 3 fresh starts. |
| Impact | A shopper looking at the filtered page has no items to choose, including the blue item they just saw. |
| Workaround | Keeping Blue selected and choosing Previous displayed both blue items. |
Evidence. In the failing run, B-12 was visible immediately before the filter change. As a control, selecting Blue directly from page 1 on the same build also returned B-11 and B-12. A developer can use this control to confirm that their copy of the catalog contains matching stock.
The step most easily lost when shortening this report is Next. Someone who opens the catalog and immediately selects Blue will follow a valid path and see both products. Include the passing path in the ticket so that a reviewer who initially sees a working filter can still reach the failure.
Example 2. An intermittent bug after switching colors
CAT-02. Green stays selected while the list shows blue products.
Environment and setup. Local teaching catalog, build catalog.17, Chrome 158 on macOS. Start each attempt on page 1 with Color set to All. The green products are G-21 and G-22. The catalog rule under test is that once all updates finish, the list must match the shopper's most recent selection.
Steps to reproduce the mismatched list
- Select Blue on page 1.
- While the update for Blue is still pending, select Green. Leave Green selected.
- Wait until both updates finish and the status reads Ready. Record the selected color and the two product IDs.
Expected result. Green is selected and the list contains G-21 and G-22.
Actual result and impact. In attempts 04 and 09, Green stayed selected but the final list contained B-11 and B-12. Both products offered to the shopper were blue.
Workaround checked. On a separate run, we let the Blue update finish before selecting Green. The final list contained both green products. Record that as a way to complete the task while the issue is investigated.
Attempt log from ten fresh starts
For CAT-02 we controlled when the browser received each response from the teaching catalog. Each numbered attempt started from a fresh page and ended with Green selected. Grouping the runs by finish order makes the two failures easy to find.
| Attempts | Finish order | Final IDs | Result |
|---|---|---|---|
| 01-03, 05-08, 10 | Blue then Green | G-21, G-22 | Pass |
| 04, 09 | Green then Blue | B-11, B-12 | Fail |
2 of 10 describes this exercise. We deliberately chose the second completion order twice. To estimate how often shoppers encounter the bug, the team would need observations from actual use. For the developer trying to repeat it today, "let the older Blue response finish last" is the more useful detail.
On a shared test environment you may only be able to see the two clicks and the final list. Record those observations and mark the response order as unknown. If the next run captures the order, add it to that attempt. Keep a proposed explanation separate from the evidence another person can verify. Mozilla's bug writing guidelines
Choose evidence that answers the developer's next question
For CAT-01, a screenshot of the empty state alone loses the most useful clue. Capture the starting page with B-12 visible and the settled result with the selected filter and page number in view. A short recording works too. Someone reading the ticket should be able to tell whether the list was still loading when the capture ended.
For CAT-02, an image can establish the mismatch but cannot tell the developer which update finished last. A short excerpt from attempt 04 supplies the missing detail. The Green response contained G-21 and G-22. The subsequent Blue response contained B-11 and B-12. After both completed, the list showed the second pair and the selector still read Green. Compare that with attempt 03, where Blue finished first and the final list agreed with the selection.
Label evidence with the build and attempt number so a reviewer can pair a screenshot with the right trace. In a live system, add the observation time and time zone if someone will search logs. Share only the relevant excerpt, with session credentials and customer details removed. If another engineer can access only the ticket, put the decisive values in its description too.
Retest the condition that failed
A note saying "filters work for me" leaves both tickets open to interpretation. For CAT-01, the retest must begin on page 2. For CAT-02, at least one retest must let the older Blue update finish last. We repeated the original runs on the corrected teaching build, catalog.18, using the same data.
| Ticket | Condition replayed | Result on catalog.18 |
|---|---|---|
| CAT-01 | Select Blue from page 2 on three fresh starts. | All three returned to page 1 and showed B-11 and B-12. |
| CAT-02 | Repeat the ten attempts using the original response orders. | All ten ended with Green selected and G-21 and G-22 visible, including attempts 04 and 09. |
Attach the retest to the original report so the build that failed remains visible. If a reviewer can only try CAT-02 on a fast connection where Blue always finishes first, record that passing result and leave the previously failing order marked as untested. The missing observation gives the next reviewer a precise task.
FAQ
If the observation warrants investigation, file what you have while the details are fresh. "Observed once, no retries yet" and "observed once, then passed on four fresh starts" give a triager different information. Include a timestamp or record ID and the last action you remember. If the discovery came from an exploratory session, its notes may preserve the sequence leading up to it. How to capture exploratory testing notes
Compare the existing ticket's trigger, symptom, and expected result. A new occurrence of CAT-01 on a different build can add evidence to CAT-01. CAT-02 deserves its own retest even though it involves the same control. Link the two if they may be related. The person investigating can merge them later if one fix and its verification cover both.
Describe what the affected person loses, whether they can recover, and which users or records you have evidence for. Severity describes the impact of the defect. Priority reflects how urgently the team chooses to act. For CAT-01, a verified workaround and the affected navigation path give the team concrete information for that decision.
Record the observation and identify the decision that is missing. For example, a catalog might intentionally preserve the page number when a filter changes. Ask the feature owner what should happen when that page has no matches. Add the agreed rule to the ticket so the person implementing the change and the person retesting it use the same acceptance criterion.