How to Write a Good Bug Report [Step-By-Step Guide] (2024)

How do you write a good bug report? What information should you include, and what’s the best way to report a bug? Fear not: in this blog post, we’ll explore the best practices for bug reporting.

So, you’ve just told your developer team that you found a bug. Instantly, you hear the dreaded reply… “I need more information.”

Before you know it, you’ve got an email thread a million miles long.

You can avoid this situation by writing better, more detailed bug reports from the get-go.

Not to worry: we’ll share some tips and tricks on how to write actionable bug reports that will make your developers love you!

What is a bug report?

Let’s start with the basics: what is an effective bug report?

Bug reports are an unavoidable part of the software development life cycle. They provide information about a problem or issue that occurred in a website or application.

An effective bug report will include a title, bug description, environment information, steps to reproduce, and more—so developers can reproduce and fix the problem.

A high-quality bug report makes all the difference in how fast the bug gets resolved—so let’s have a look at how to do it right!

The rest of this blog post goes over bug report elements in detail.

But it’s also helpful to have a complete checklist at hand.

For this, you can use PerfectBugReport.io—a simple checklist of the essential items to include in your bug reports:

How to Write a Good Bug Report [Step-By-Step Guide] (1)

How to write a good bug report

Developers are often under a ton of pressure to solve issues quickly without actually having a lot of time on their hands.

They usually face two extremes: too much unhelpful information or too little important information.

For every bug report, we highly recommend using a bug tracker like Trello, Jira, Asana, GitHub or GitLab and implementing a consistent, standardized approach.

Here’s how to write a bug report:

1. Title/Bug ID

Keep it short and specific.

Make sure it clearly summarizes what the bug is. Having a clear title on your bug report makes it easier for the developer to find later on and merge any duplicates.

Examples:

❌ Bad: "I can't see the product when I add it, for some reason I try and it doesn't. WHY? Fix it asap."

  • vague
  • aggressive
  • too verbose
  • asks for a solution to be implemented

✅ Good: “CART - New items added to cart do not appear”

  • it helps developers instantly locate the issue (CART)
  • it focuses on the actual technical problem

When developers review it, they’ll be able to instantly assess the issue and move on to other elements of the bug report.

2. Summary

If your title isn’t enough, you can add a short report summary. And we mean short.

In as few words as possible, include when and how the bug occurred.

Your title and description may also be used in searches, so make sure you include important keywords.

Examples:

Bad: "The other day I was trying to add stuff to test and nothing showed up when I did that or clicked on the button."

Good: "On [DATE], I tried adding [PRODUCT] to the cart, nothing happened after clicking the 'add' button on the product overview webpage."

Bad: “The design text on the pricing page looks super weird and doesn't seem right. It shouldn't look that big and should be in a different color.

Good: The headline text size and color on the pricing page don't match the original designs.

3. Visual proof/screenshot

We all know that a picture is worth a thousand words. That stands true for bug reporting.

While it may not tell the whole story, a screenshot or video can add a lot of value by getting your developers to see and understand the problem faster.

Website annotation tools go a long way here to help you drive your point across.

Example:

How to Write a Good Bug Report [Step-By-Step Guide] (2)

4. Expected vs. actual results

When you report a bug, take some time to explain to your developer what you expected to happen and what actually happened.

Example:

Expected result: ”Item should be added to the cart when I click ADD”

Actual result: ”Item does not appear in the cart”

5. Steps to reproduce

Here is your opportunity to share the steps needed to recreate the bug!

Always assume that your developer has no idea about the bug you found—how does he reproduce it?

As always, keep it simple!

The steps to follow should be comprehensive, easy to understand, and short.

The most important goal of this step is for your developer to experience the bug first-hand.

Use a numbered list here. And if you’ve already managed to recreate the issue several times, you can include the reproducibility rate (example: 12/12 times bug reproduced).

Example:

  1. Search for product XYZ.
  2. Click on product XYZ in search results.
  3. Click on “Add to Cart” button.
  4. Go to cart.

Want to go one step further? Add a short video recording, or use a session replay tool—so the developer can watch you reproduce this new bug!

6. Environment

Websites and apps can behave very differently depending on the environment used.

It’s critical that the following information be included in any report you share:

  • Browser (Chrome, Firefox, Safari…)
  • Operating system (OS) and version (Mac, Windows…)
  • Screen size
  • Zoom level
  • Pixel ratio

How to Write a Good Bug Report [Step-By-Step Guide] (3)

Pro tips:

  • Marker.io will automatically collect this technical information
  • Use BrowserStack with Marker.io to automatically grab virtual device information and capture cross-browser issues
  • Additional info that can be helpful: device type, network connectivity, and battery state

7. Console logs

These logs show developers all errors that occur on a given webpage.

Logs can also include info that track certain user actions.

How to Write a Good Bug Report [Step-By-Step Guide] (4)

In general, including console logs can be valuable for developers as it can help them dig deeper and identify the root of the problem.

When debugging, it saves them a bunch of time on any issue!

A lot of crashes or errors are hard to replicate, so having the logs can be super informative.

Pro tip: Marker.io adds console logs automatically to every ticket you create.

8.Network requests

Network requests detail the flow of data between client and server.

Inspecting network requests will help developers investigate failed API calls, retrieval of resources (like images), and delayed responses—all things that could slow down a webpage, for example.

It's invaluable when trying to fix bugs like content not being displayed as expected, or why certain server-side functions are failing.

How to Write a Good Bug Report [Step-By-Step Guide] (5)

Modern dev tools in browsers (above, the "Network" tab in Chrome's DevTools) already capture these requests in real-time.

And—you've guessed it—Marker.io will attach this information automatically with every bug report.

9. Source URL

One important, but easy-to-forget item is the source URL.

This will help the developers navigate faster, which saves everyone a lot of time.

How to Write a Good Bug Report [Step-By-Step Guide] (6)

Pro tip: If you use Marker.io, we’ll automatically include this, too!

10. Bug severity and priority

By defining the severity or priority of the issue in your bug report, your developer understands how quickly a bug should be fixed.

The severity of your bug can be defined by the level of impact it has on your website or product. Once this has been determined you can label it as:

  • Critical
  • Major
  • Minor
  • Trivial
  • Enhancement

The priority helps your developer determine which bug they should investigate and fix first. Here you can choose between:

  • High
  • Medium
  • Low

As the bug reporter, you will normally be responsible for identifying the severity and priority.

Pro tip: it can be difficult, as the end-user, to determine bug priority/severity—but if it severely affects functionality and user experience, it’s critical!

11. Advanced information

Whether you're looking to write the most informative bug report ever or you're looking to score brownie points with your developer, you can also opt to include the following:

  • Reporter name (your own)
  • Assigned person (the developer, usually)
  • Due date

The bug report checklist: everything you need to consider

After lots of personal experience (trial and error—ouch), research, and talking it over with our developers, we came up with a checklist of ten essential points to consider.

  1. Title
  2. Summary
  3. Visual proof
  4. Expected vs. actual results
  5. Steps to reproduce
  6. Environment
  7. Console logs (and network requests)
  8. Source URL
  9. Bug severity and priority
  10. Advanced info (optional)

How to Write a Good Bug Report [Step-By-Step Guide] (7)

Download this list as a PDF for your next bug reporting project.

Alternatively, use one of our bug report templates that you can copy for your bug tracking process.

Tips and tricks

In general, it's good to keep these basic guidelines in mind:

  • One bug = one issue. Don’t include multiple bugs in the same issue!
  • Avoid duplicates. Always try to search your current issue tracker for existing reports.
  • Reproduce the bug before creating the bug report. This makes it more likely that the developer will also be able to reproduce the problem and identify where it comes from.
  • Don’t forget to KISS: keep it stupid simple. Keep everything as straightforward as possible. Using bullet points or numbered lists can help.
  • Use a professional bug tracker. This will help you keep everything in one place and avoid losing files and bug reports.
  • Be kind. Developers are people too, and bugs happen. They’re part of the process of making great end products and websites.

How to report a bug with a reporting tool

If you’re still using spreadsheets or color-coded Google Docs for bug reporting, you might be wasting a lot of valuable time.

That’s when bug reporting tools come into play.

With a good tool like Marker.io, you can write and submit bug reports ten times as fast, without ever leaving your website.

Automated, annotated screenshots

How to Write a Good Bug Report [Step-By-Step Guide] (8)

So how does that work?

We set out to make the testing process as simple as possible:

  1. See a bug or want to drop feedback? Click “Report a bug”.
  2. Add annotations, and input details in the feedback form (use our checklist!).
  3. Click on “Create issue”—done!

How to Write a Good Bug Report [Step-By-Step Guide] (9)

2-way integrations with PM tools

How to Write a Good Bug Report [Step-By-Step Guide] (10)

Marker.io automatically syncs up with your project management tool.

This means that whenever you click the “Create issue” button, that bug report will automatically be created in Jira/Trello/GitHub/Bugzilla… you name it.

In other words: you don’t need to transfer bug reports from your inbox into your PM tool anymore.

And as a QA tester, you can stay on the website for the entire bug hunting session.

Finally, when a task is marked as “Done” in your PM tool, that same task will also be “Resolved” in Marker.io.

And you get a nice little overview of all bug reports in the Marker.io dashboard:

How to Write a Good Bug Report [Step-By-Step Guide] (11)

If you need to discuss a specific bug at length, you can do that on our feedback page:

How to Write a Good Bug Report [Step-By-Step Guide] (12)

All comments and attachments are, of course, synced back with your PM tool!

Ready to give it a go? Sign up for a free trial here—no credit card required.

Wrapping up...

Now that you know how to write a bug report and manage your issue tracking workflow, you’ll save more than just time and money: you’ll save your developer’s sanity.

Now that we've given you the right tools, it's time to use them.

It's just you, and your new weapons: an awesome bug report and a solid bug tracking system.

How to Write a Good Bug Report [Step-By-Step Guide] (2024)

References

Top Articles
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 5990

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.