The short answer
A good bug report tells a developer exactly what went wrong, how to make it happen again and why it matters. To write one:
- Give it a short, specific title that describes the problem.
- List the environment: device, operating system, browser or app version, and test account if relevant.
- Write numbered steps to reproduce the problem, starting from a known point.
- State the expected result and the actual result.
- Set the severity (how bad it is) and, if your team does this, the priority (how soon it should be fixed).
- Attach evidence such as screenshots, screen recordings or logs.
Keep each report to one problem, write it in plain language, and stick to facts you’ve observed. The sections below go through each part in more detail.
What a good bug report does
A bug report is a working document. The developer reading it may not be the person who’ll test the fix, and neither of them may have been in the room when you found the problem. A useful report lets someone else:
- Understand the problem without asking you follow-up questions
- Reproduce it on their own machine
- Judge how serious it is compared with other work
- Confirm later that it’s fixed
If a report can do those four things, it’s doing its job, regardless of the tool or template your team uses.
The parts of a bug report
Most bug tracking tools, such as Jira, GitHub Issues, Azure DevOps or Bugzilla, have their own fields, but the core content is much the same everywhere.
Title or summary
The title is what people see in a list of dozens or hundreds of issues, so it should identify the problem on its own. A helpful pattern is what + where + when:
- Weak: “Checkout broken”
- Better: “Checkout page shows blank screen after applying discount code on mobile Safari”
Avoid vague words such as “doesn’t work,” “weird” or “issue” without specifics.
Environment
Many bugs only appear under certain conditions, so record where you saw it:
- Device and model
- Operating system and version
- Browser and version, or app version and build number
- Test environment (for example, staging or production)
- Account type, user role or test data used, if they affect behavior
- Network conditions, if relevant
Steps to reproduce
This is often the most important section. Write numbered steps that start from a clear point, such as “Log in as a standard user” or “Open the app from a fresh install,” and include the exact data you entered.
- Go to the login page.
- Enter a valid email and password.
- Click “Sign in.”
- On the dashboard, click “Export report.”
Before submitting, try following your own steps from the beginning. If the bug doesn’t happen every time, say so and note roughly how often it occurs, for example “about 3 out of 10 attempts.”
Expected result and actual result
State both clearly and separately:
- Expected result: what should have happened, ideally based on the requirements, design or how the feature normally behaves.
- Actual result: what really happened, described precisely. Include exact error messages, copied as text rather than retyped from memory.
This comparison is what makes something a bug rather than a matter of opinion. If you aren’t sure what the expected behavior is, it’s fine to say so and ask.
Severity and priority
Teams use these two fields to decide what to fix first:
- Severity describes the impact on the product. A common scale is critical, high (or major), medium and low (or minor). A crash that loses user data is critical; a misaligned label is low.
- Priority describes how urgently it should be fixed, which often depends on business needs. A typo in a company’s name on the home page is low severity but may be high priority.
In many teams, testers set severity and a product owner or lead sets priority. Follow your team’s definitions so ratings are consistent.
Attachments and supporting evidence
Evidence saves time and removes doubt:
- Screenshots with the problem area marked
- Screen recordings for problems that involve several steps or timing
- Console logs, network logs or crash reports for technical issues
- Sample files or test data that trigger the problem
Remove or mask passwords, personal information and other sensitive data before attaching anything.
Other useful fields
Depending on your team and tool, you may also fill in:
- Bug ID, usually assigned automatically
- Reporter and date
- Component or module affected
- Assignee
- Labels or tags, such as the type of bug (if you’re unsure how to categorize it, our overview of what are the different types of software bugs can help)
- Workaround, if you found one
- Related issues or links to the requirement or test case
A sample bug report
Here is an example of what a complete report might look like:
Title: “Export report” button does nothing for users with more than 1,000 records
Environment: Web app v4.2.1 (staging), Chrome 129 on Windows 11, standard user account
Steps to reproduce:
- Log in as the test user “export-test-01” (account has about 1,200 records).
- Open the Dashboard.
- Click “Export report.”
Expected result: A CSV file downloads, or a progress message appears.
Actual result: Nothing happens. No download, no message. The browser console shows “TypeError: Cannot read properties of undefined.”
Frequency: Every time (5 of 5 attempts). Export works normally for an account with about 200 records.
Severity: High. Users with large accounts can’t export data, and there’s no workaround in the interface.
Attachments: Screen recording, console log
Notice that the report includes a comparison (it works for a smaller account). That kind of detail helps developers narrow down the cause quickly.
Tips for writing clearer reports
- One bug per report. If you find three problems, file three reports. It makes each one easier to track, assign and close.
- Search first. Check whether the bug has already been reported to avoid duplicates. If it has, add any new details to the existing report.
- Be specific and neutral. Describe behavior, not blame. “The total shows $0.00” is more useful than “The pricing code is terrible.”
- Keep it short but complete. Include everything needed to reproduce the problem and nothing that distracts from it.
- Isolate the cause if you can. Try a different browser, account or data set. Knowing what does and doesn’t trigger the bug is valuable.
- Use the team’s terms. Match the names of screens, features and buttons used in the product and its documentation.
Common mistakes to avoid
- Vague titles such as “Bug in app” or “Login problem”
- Missing steps, or steps that assume knowledge the reader doesn’t have
- No expected result, which leaves the developer guessing what “correct” looks like
- Combining several issues in one report
- Overstating severity, which makes it harder for the team to trust ratings
- Guessing at the cause and presenting it as fact. If you have a theory, label it clearly as a suggestion.
Sometimes what looks like a bug turns out to be a one-off hiccup that can’t be reproduced. That overlaps with the question of what is a bug vs glitch, and it’s still worth reporting with an honest note about how often it happened.
What happens after you submit it
Once filed, a report usually moves through a series of statuses, often called the bug life cycle. Names vary, but a typical path is:
- New: the report has been submitted.
- Assigned or open: someone is responsible for investigating it.
- Fixed or resolved: a developer has made a change.
- Retest: a tester checks the fix using the original steps.
- Verified and closed: the fix works and the issue is done.
Along the way, a report can also be marked as duplicate, rejected (for example, if it’s working as designed), deferred to a later release, or reopened if the problem comes back. Clear steps to reproduce make the retest stage much easier, which is one more reason they’re worth getting right.
For background on how the word “bug” came to describe software problems in the first place, see our broader guide to what is bug and its types.