How to write a good bug report (with a template).
A good bug report lets a developer see the bug for themselves without asking you a question. Give it a specific title, numbered steps, what you expected, what happened, and the environment. Add a short video if you can.
What a bug report needs
Mozilla's bug writing guidelines call the steps to reproduce the "most important part of any bug report". Atlassian's Jira bug report template asks for the same core: a concise summary, numbered steps, expected and actual results, and the environment. Put together, a report has six parts.
- A specific title. It should identify the bug quickly. "Checkout button does nothing after applying a coupon" works. "Checkout broken" does not. Atlassian suggests starting with the area in brackets, such as "[Checkout]", so a list of tickets is easy to scan.
- Numbered steps to reproduce. One action per line, in order, starting from a known place such as "Log in as a new user". Include any setup the bug needs.
- Expected result. What should have happened.
- Actual result. What happened instead, in as much detail as you can give.
- Environment. Operating system and version, the app or browser version, the account or data you used, and the connection if it could matter.
- How often it happens. Mozilla asks reporters to say whether it happens "at will, occasionally, or not at all". For a bug that is not constant, say how many times you tried and how many times it appeared. See how to reproduce an intermittent bug.
A template you can copy
Title: [Area] What goes wrong, in one line
Steps to reproduce
1.
2.
3.
Expected result
Actual result
Environment
OS and version:
App or browser version:
Account or test data:
How often: every time / sometimes (x of y tries) / once
Attachments: video, screenshot, log Mistakes that send a report back to you
- Several bugs in one ticket. Mozilla's guidance is to open a new report for each issue, so each can be fixed and closed on its own.
- "It doesn't work." This gives a developer nothing to act on. Say what you did and what you saw.
- Guesses written as facts. Mozilla asks reporters to "clearly separate facts (observations) from speculations". "The save call fails" is a guess. "The Save button stays greyed out" is what you saw.
- Leaving out the unreproducible. A bug you saw once is still worth reporting. Say that it happened once, and attach whatever you have from that moment.
Add a video
Steps tell a developer what to do. A short video shows them what you saw, which matters most for layout glitches, timing problems and anything hard to describe. Keep it to the part that matters. See how to attach a screen recording to a Jira ticket.
The video has to exist first. If the bug does not repeat on demand, you cannot record it after the fact. Recording a bug after it already happened covers how a rolling buffer solves that.
Doing this with Bugback
Bugback keeps the last few minutes of your screen in memory. When the bug appears, press ⇧⌘H. The review window opens on the clip. In Pro you can turn on a numbered list of what you did, which is off until you switch it on, so the steps are already written. Trim the clip, correct anything in the list, and send it to Jira, GitHub or Linear with the video and your Mac's details attached. The title and the expected result are the parts only you can write. There is a template for Jira to copy.
Download Bugback for macOS, or see pricing.