# How to write a bug report with a copy-ready template.

> The seven parts of a bug report a developer can act on without writing back — steps to reproduce, expected and actual result, environment — with a template.

- Source: https://umarker.com/en/guides/how-to-write-a-bug-report/
- Last updated: 2026-12-01
- العربية: https://umarker.com/guides/how-to-write-a-bug-report/

Guide

A clear bug report lets someone who was not there understand the problem, reproduce it on their own machine, and know when it is fixed. Here is what goes in one, a template to copy, and the mistakes that send a report back with a question.

Last updated: 1 December 2026 The uMarker team [All guides](https://umarker.com/en/guides/)

On this page

1. What a bug report is for
2. The seven parts
3. A template you can copy
4. The same bug, written twice
5. Mistakes that send it back
6. Reporters who are not technical
7. Where a tool takes over

## What a bug report is for

A bug report is a message to a person who was not looking at your screen. They have to do three things with it: understand what went wrong, make it happen again on their own machine, and confirm afterwards that it stopped happening. Every part of a report serves one of those three. Anything that serves none of them is noise.

That is also the test for whether a report is finished: could a developer who has never opened this page start working from it without writing back to you? If the answer is no, the missing piece is nearly always one of the seven below.

## The seven parts of a good bug report

1. **A title that names the symptom and the place.** “Checkout — Pay button does nothing after applying a coupon” can be found six months later. “Bug in checkout” or “Urgent!!” cannot. Write what happens and where, and keep your guess about the cause out of the title.
2. **Steps to reproduce.** Numbered, one action per line, starting from a state anyone can reach: a page address, a signed-in role, an empty cart. Include the data you used — the coupon code, the product, the file. If you cannot reproduce it yourself, say so, and say how many times you saw it.
3. **Expected result.** One sentence: what you thought would happen. It sounds obvious, and it is the line most often missing. Without it the developer has to guess whether the behaviour is a bug or a decision.
4. **Actual result.** What happened instead, exactly. The error text word for word, not “an error appeared”.
5. **Environment.** Browser and version, operating system, device, window size, the page language and the address of the page. Add the account or role if the page differs by user, and the environment name (production, staging) if there is more than one.
6. **Evidence.** A screenshot with the broken element marked. For anything that involves loading, saving or paying, the browser's console errors and the failed network request — its method, address and status code — are worth more than a paragraph of description.
7. **How bad, and how often.** Does it block the task, or only look wrong? Does it happen every time, sometimes, or once? This is what lets someone else set the priority, so describe the impact rather than assigning the priority yourself.

## A bug report template you can copy

Replace everything in square brackets. Delete a line only when it truly does not apply; “none” is a useful answer, an empty line is not.

Bug report template

```
Title: [Where] — [what happens]

Steps to reproduce:
1. Go to [page address]
2. [Action]
3. [Action]

Expected result:
[What should have happened]

Actual result:
[What happened instead — error text word for word]

Environment:
- Page: [URL]
- Browser and version: [e.g. Chrome 131]
- Operating system / device: [e.g. Windows 11, laptop]
- Window size: [e.g. 1440 x 780]
- Page language: [e.g. Arabic]
- Account or role: [if it matters]

Evidence:
- Screenshot: [attached, broken element marked]
- Console errors: [paste, or "none"]
- Failed request: [method, address, status code — or "none"]

Impact: [blocks the task / workaround exists / cosmetic]
How often: [every time / sometimes (x of y tries) / once]
```

The template is plain text on purpose. It pastes into an email, a Jira or GitHub issue, a Slack message or a spreadsheet cell without losing its shape, and nobody needs an account anywhere to fill it in.

## The same bug, written twice

The version most teams receive:

> “The checkout is broken on mobile. Please fix ASAP.”

The developer now has to ask which page, which phone, which step, and what “broken” looked like. That exchange usually costs a day, and the bug has not been touched yet.

The same bug, reported so that work can start:

> **Title:** Checkout — Pay button does nothing after applying a coupon
>
> **Steps:** 1. Add any product to the cart. 2. Open `/checkout`. 3. Enter coupon `SAVE10` and press Apply. 4. Press Pay.
>
> **Expected:** the payment page opens. **Actual:** nothing happens; the button stays pressed.
>
> **Environment:** Chrome on Android 15, Arabic page. Happens every time. Without the coupon, Pay works.
>
> **Evidence:** screenshot attached; the console shows `TypeError: total is undefined`.

“Without the coupon, Pay works” is the most valuable sentence in that report. Anything you tried that changes the result narrows the search, so write it down even when it feels like a detail.

## Mistakes that send a report back

- **Several bugs in one report.** One report, one problem. Two problems that get fixed at different times cannot share one status.
- **A diagnosis instead of a description.** “The API is down” is a theory. “Saving shows ‘Something went wrong’ and the request to `/api/orders` returns 500” is a fact that happens to support it.
- **A screenshot with nothing marked.** On a busy page the reader will look at the wrong thing. Mark the element, or crop to it.
- **A crop that hides the address bar or the error.** Crop to help the reader, not to tidy the picture.
- **Secrets in the evidence.** Passwords, card numbers, tokens in page addresses and other people's personal data do not belong in a ticket. Cover or replace them before you send.
- **“It doesn't work.”** Works how, for whom, after what?

## For reporters who are not technical

Clients and colleagues outside the team should not be asked for browser versions and console logs. Most people do not know where to find them, and asking is how reports stop arriving at all. Ask them for the two things only they know — what they did, and what they expected — and collect the rest another way: a short form with the environment questions, a screen-share, or a tool that reads the browser for them.

If the site is in Arabic, there is one more trap: “left” and “right” stop being reliable words. The guide to [feedback on Arabic / RTL websites](https://umarker.com/en/guides/client-feedback-arabic-rtl-websites/) covers it.

## Where a tool takes over

Parts five and six of the list are mechanical, which is why [visual feedback tools](https://umarker.com/en/guides/what-is-visual-feedback/) exist. In uMarker, for example, the reporter points at the element on the live page and writes one sentence. The page address, browser and version, operating system, language and window size are attached automatically, along with a screenshot and a numbered pin on the element. On a project set to Technical mode the report also carries the page's console messages, JavaScript errors with their stack traces, and its network requests with failed and slow ones flagged.

A title, an expected result and “how often” still have to come from a person; no tool writes those for you. The [how it works](https://umarker.com/en/how/) page shows the flow, and the [QA and UAT page](https://umarker.com/en/use-cases/qa-uat/) shows it in a test session. The template above works with or without any of it.

Questions

## Common questions.

**What should a bug report include?**

A title that names the symptom and where it happens, numbered steps to reproduce, the expected result, the actual result, the environment (browser, operating system, device, page address), evidence such as a marked screenshot and console errors, and how severe and how frequent the problem is.

**What is the difference between a bug report and a feature request?**

A bug report says the product does something other than what it was built to do. A feature request asks for something it was never built to do. If you are unsure, write the expected result: if you cannot say where that expectation comes from, it is probably a request.

**How long should a bug report be?**

As short as it can be while staying reproducible. Good reports are usually short: a few lines plus a screenshot. The length comes from the steps, and steps are the one part that should never be cut.

**Who sets the priority of a bug?**

Usually the person triaging, not the reporter. The reporter describes the impact and how often it happens; the team weighs that against everything else in the queue.

**Can I write a bug report in Arabic?**

Yes, if the team reads Arabic. Keep error messages, page addresses and code in their original language, exactly as they appeared, because the developer will search for them letter by letter.

Read next

## Where to go from here.

- Guide

  ### [What is visual feedback?](https://umarker.com/en/guides/what-is-visual-feedback/)

  The definition, how it differs from forms, surveys and session replay, and when you do not need it at all.
- Checklist

  ### [UAT checklist for a live website](https://umarker.com/en/guides/uat-checklist-live-website/)

  Three lists: before the session, during it and after — plus what is specific to testing a site that has real customers on it.
- Glossary

  ### [Glossary](https://umarker.com/en/guides/glossary/)

  More than twenty terms, from “pin” and “repro steps” to NPS, RTL and MCP, each with its Arabic name.
- ### [How uMarker works](https://umarker.com/en/how/)

  From the pin on the page to the report in your inbox.
- ### [Docs: what is captured](https://docs.umarker.com/en/capture/extension/what-is-captured/)

  Normal and Technical mode, field by field.

## Try it on your own site.

[Request your account](mailto:support@umarker.com?subject=Account%20request%20%E2%80%94%20uMarker) [See the plans](https://umarker.com/en/pricing/)

Start free, no trial clock 5 widget reports a day No card

Last updated: 1 December 2026
