Skip to main content

Bug report template

Markdown · 8 sections by default, 13 in all · Updated

A bug report is a written record of a defect: what you did, what you expected to happen, what happened instead, and where. A bug report template fixes the sections and their order, so every report reads the same way and a developer can act on it without coming back with questions.

The template below is the layout TestifAI writes, section headers and all. Copy it as Markdown, or read on for what goes in each section and a real filled-in example.

What should a bug report template include?

8 sections: Summary, Steps to Reproduce, Expected Behavior, Actual Behavior, Issue Type, Priority, Environment and Attachments. Those are the sections a new TestifAI project starts with. The other 5 are optional: Affected Component, Reproduction Rate, Workaround, Acceptance Criteria and Version.

Template, 8 sections
**Summary:**
Brief overview of the issue

---

**Steps to Reproduce:**
1. Step-by-step instructions to reproduce the issue

---

**Expected Behavior:**
What should happen

---

**Actual Behavior:**
What actually happens

---

**Issue Type:**
- Bug, Feature or Improvement

---

**Priority:**
- Critical, High, Medium or Low

---

**Environment:**
- Browser, OS and device information

---

**Attachments (optional):**
Screenshots and videos
The full template, all 13 sections
Template, 13 sections
**Summary:**
Brief overview of the issue

---

**Affected Component:**
Which part of the app is affected

---

**Issue Type:**
- Bug, Feature or Improvement

---

**Priority:**
- Critical, High, Medium or Low

---

**Steps to Reproduce:**
1. Step-by-step instructions to reproduce the issue

---

**Expected Behavior:**
What should happen

---

**Actual Behavior:**
What actually happens

---

**Reproduction Rate:**
How often the issue occurs (Always, Sometimes, Rarely or Once)

---

**Workaround:**
Temporary solution until the issue is fixed

---

**Acceptance Criteria:**
- Conditions that must be met for features/improvements

---

**Environment:**
- Browser, OS and device information

---

**Version:**
App version where the issue was found

---

**Attachments (optional):**
Screenshots and videos

Paste it into the description of a new issue in GitHub, GitLab or Linear. In Jira, paste it into the issue description and check the formatting before you save.

What goes in each section?

Each section answers one question a developer would otherwise have to ask you. In TestifAI, every project can switch sections on or off and change their order; the ones marked default are on for a new project.

SummaryDefault

Brief overview of the issue.

A few sentences: what is wrong, where, and what it stops someone doing. A reader who stops here should know whether the report is theirs.

Affected ComponentOptional

Which part of the app is affected.

The screen, feature or module, named the way your team names it, such as Checkout or User Settings.

Issue TypeDefault

Bug, Feature or Improvement.

Pick exactly one. Each type is defined below.

PriorityDefault

Critical, High, Medium or Low.

How urgent it is, on one scale. Each level is defined below.

Steps to ReproduceDefault

Step-by-step instructions to reproduce the issue.

Numbered, one action per step, starting from the first action that matters. Name the page, the control and any value you typed, so someone else can follow the steps without asking you.

Expected BehaviorDefault

What should happen.

Stated precisely enough that whoever fixes the bug can check the fix against it.

Actual BehaviorDefault

What actually happens.

Copy error messages and reference codes exactly as they appeared.

Reproduction RateOptional

How often the issue occurs (Always, Sometimes, Rarely or Once).

How often it happens when you follow the steps. The rates are defined below.

WorkaroundOptional

Temporary solution until the issue is fixed.

Anything that gets around the problem until it is fixed, or a note that nothing does.

Acceptance CriteriaOptional

Conditions that must be met for features/improvements.

Checkable statements that must all be true before the work counts as done. Most useful on feature requests and improvements.

EnvironmentDefault

Browser, OS and device information.

Where you saw it: browser and version, operating system, device. One per line, because a bug that appears in one browser and not another is a finding in itself.

VersionOptional

App version where the issue was found.

The app version, build or release you were using.

AttachmentsDefault

Screenshots and videos.

Screenshots or a recording of the problem. A screenshot of an error often carries the exact message and reference code the steps need.

How do you title a bug report?

Put the affected area in square brackets, then say what is wrong: [Feature Name] Descriptive Title. These are the rules TestifAI writes titles to:

  • Title Case; lowercase short prepositions
  • Bracket contains core section (e.g., [Trading] not [Trading Page])
  • Do not repeat bracketed name in title text
  • Omit "issue," "problem," "bug"
  • No end punctuation
Write
[Reports] Reduce Export Time for Large Projects
Not
[Reports] Reduce export time for large projects

How do you set a bug’s priority?

Pick the level that matches the impact, from Critical down to Low. TestifAI uses this one scale; there is no separate severity field to keep in step with it.

Critical
Blocks core functionality, data loss, production broken
High
Major functionality broken, workaround exists
Medium
Non-core functionality or UI incorrect (default if uncertain)
Low
Cosmetic issues, text inconsistencies, minor polish

Which type of issue is it?

Ask whether the behavior exists today, and whether it works. A report fits one of these:

Bug
Something broken or not working as expected
Feature
Net-new capability (entirely new components, flows, or behavior)
Improvement
Enhances existing behavior, UX, or performance (e.g., better spacing, copy, loading speed)

How do you say how often a bug happens?

With a reproduction rate: Always, Sometimes, Rarely or Once. It describes how a bug behaves, so a feature request has none. In TestifAI it is an optional section; switch it on for projects where intermittent bugs are common.

Always
Issue occurs every time without fail
Sometimes
Issue occurs intermittently (estimate percentage if possible)
Rarely
Issue occurs infrequently or unpredictably
Once
Issue was observed only once

What does a finished bug report look like?

Here is one. Real TestifAI output from the note shown. Nothing in it was edited. Its project had Acceptance Criteria switched on, which a new project leaves off.

The note that was typed

Checkout fails when I apply a discount code. The payment step shows an error, but it's generic and doesn't say what's actually wrong. Without the code the same order goes through fine. Happens every time.

Attachment: image.png

The report it became

[Checkout] Payment Fails After Applying a Discount Code

Summary

Checkout fails at the payment step when a discount code is applied. The payment page displays a generic error instead of explaining the cause, while the same order completes successfully without the discount code.


Steps to Reproduce

  1. Open the Checkout payment step.
  2. Apply the discount code "WELCOME10".
  3. Enter valid payment details.
  4. Select "Pay $56.19".

Expected Behavior

The payment should process successfully when the discount code is applied and the order is otherwise valid. If the discount code causes a payment failure, the page should display a specific, actionable error message.


Actual Behavior

Payment fails after the discount code is applied. The page displays the generic message "Something went wrong. Please try again. (Reference: PAY-4471)" without identifying the cause.


Acceptance Criteria

  • Checkout should complete successfully when a valid discount code is applied to an otherwise valid order.
  • The payment page should display a specific and actionable error message when a discount code causes payment to fail.
  • Checkout should continue to complete successfully for the same order when no discount code is applied.

Issue Type

  • Bug

Priority

  • High

Environment

  • Google Chrome 151.0.7922.169 on Windows 11

Attachments (optional)

image.png

WELCOME10, Pay $56.19 and PAY-4471 are in the report and not in the note: they were read off the attached screenshot. That is the case for attaching one even when you describe the problem in words.

Can TestifAI fill in the template for you?

Yes. Describe the bug the way you would tell a teammate and attach a screenshot. TestifAI writes the sections your project uses, in your order and in any of 21 languages, and you copy the result as Markdown into your tracker.

Free plan, no credit card.

Questions about accounts, attachments or billing are answered in the FAQ.