Markdown Editor

Bug Report Template

Bug report with environment, reproduction steps, evidence, impact, S1-S4 severity and P1-P4 priority scales, status flow, resolution, GitHub issue form YAML

Software & EngineeringStandardGitHub issue forms; ISO/IEC/IEEE 29119-3:2021 (incident report topics)bugreport

How to use: Filing issues. Repro steps must be exact enough for a stranger to follow.

Preview

Bug Report: [Short title of the defect]

One report for one defect in a software product: what is broken, how to reproduce it, what was expected, the evidence, the impact, and the triage fields (severity, priority, status) that the maintainers fill. Section 9 defines the severity and priority scales, and Appendix A gives the same form as a GitHub issue form (.github/ISSUE_TEMPLATE/bug_report.yml). For a formal test incident report in a test project, the topics follow ISO/IEC/IEEE 29119-3:2021 (incident report information item). Replace every [bracketed] value and every row marked Example. Worked examples use Brindlemark, a fictional open-source Markdown desktop editor.

Document control

FieldValue
Form ID[BUG-FORM-001]
Form version[1.0]
Status[Draft / In use / Superseded]
Owner[@triage-lead]
Approvers / reviewers[@maintainers-team]
Last updatedYYYY-MM-DD
ClassificationPublic
Where it is published[Example: .github/ISSUE_TEMPLATE/bug_report.yml and docs/bug-report.md]
RelatedFeature Request (dev/feature-request), Contributing guide (dev/contributing), Security Policy (dev/security-policy), Postmortem (dev/postmortem)

Revision history

VersionDateAuthorChange
1.0 (Example)YYYY-MM-DD[@triage-lead]First version with severity and priority scales and an issue form
[x.y]YYYY-MM-DD[@name][Change summary]

1. Summary

FieldValue
Report ID[BUG-NNN, or the issue number the tracker assigns]
Title[Component: symptom when condition]
Reported by[@name]
Date foundYYYY-MM-DD
Component or area[Example: Export, PDF]

Example: BUG-142, "Export, PDF: tables wider than the page are cut off instead of wrapping when the document uses the Serif theme."

2. Environment

FieldValue
Product version[vX.Y.Z, build or commit hash]
Installation type[Example: desktop installer, package manager, built from source]
Operating system[Example: macOS 26.1, Windows 11 24H2, Ubuntu 24.04]
Browser and version (web products)[Example: Firefox 145]
Device[Desktop / laptop / phone / tablet, model if relevant]
Relevant settings or plugins[Example: Serif theme, spell-check plugin 2.3]
First version where it happened[vX.Y.Z, or "unknown"]
Last version where it worked[vX.Y.Z, or "never worked", or "unknown"]

3. Steps to reproduce

  1. [Start from a clean state, for example a new document or a fresh profile]
  2. [Exact action, including menu path or command]
  3. [Next action]
  4. [Observe the result]

Example:

  1. Open Brindlemark 4.2.0 with a new document.
  2. Paste the attached wide-table.md (a table with 12 columns).
  3. Choose Settings, Theme, Serif.
  4. Choose File, Export, PDF, and open the exported file.

Reproduction rate: [Always / Intermittent, about N out of M attempts / Once]

4. Expected behaviour

[What should happen.]

Example: The table wraps or shrinks to the page width, as it does with the Default theme and as the export documentation describes.

5. Actual behaviour

[What happens instead. Include error text verbatim.]

Example: Columns 9 to 12 are missing from the PDF. No error is shown.

6. Evidence

  • Screenshot or recording: [link or attachment]
  • Minimal input file: [attachment]
  • Log or console output:
[paste the relevant lines here, with timestamps]

7. Impact and workaround

QuestionAnswer
Who is affected[Example: every user who exports wide tables to PDF with the Serif theme]
Is data lost or corrupted[Yes / No; describe]
Is there a workaround[Example: switch to the Default theme before exporting]
Reporter's severity guess[S1 / S2 / S3 / S4, see section 9.1]

8. Additional context

  • Related issues: [#NNN]
  • Possible cause (optional, only if investigated): [description]
  • Checklist before submitting:
    • I searched open and closed issues for duplicates.
    • I reproduced the bug on the latest release or the main branch.
    • I removed secrets and personal data from attachments.
    • This is not a security vulnerability (those go to the security policy contact).

9. Triage (maintainers)

FieldValue
Triaged by[@name]
Triage dateYYYY-MM-DD
Confirmed[Yes, reproduced on vX.Y.Z / No, needs info / Cannot reproduce]
Severity[S1 to S4]
Priority[P1 to P4]
Labels[Example: bug, area:export, good first issue]
Assignee[@name or unassigned]
Target release[vX.Y.Z or milestone]
Duplicate of[#NNN, if any]

9.1 Severity scale

LevelNameDefinitionExample (Example)
S1CriticalData loss or corruption, crash on start, or the main function is unusable for most users with no workaroundSaving a document truncates it to zero bytes
S2MajorAn important function fails or gives wrong results, and the workaround is hardPDF export drops table columns
S3MinorA function misbehaves but an easy workaround exists, or only a few users are affectedKeyboard shortcut does not work on one keyboard layout
S4TrivialCosmetic problem, typo or layout glitch with no functional effectMisaligned icon in the settings dialog

Security vulnerabilities are rated separately with the scoring system named in the security policy, for example the FIRST CVSS v4.0 qualitative scale (Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0), and handled privately.

9.2 Priority scale

LevelMeaningTarget (Example)
P1Fix now; may justify a patch releaseFix merged within 2 working days
P2Fix in the next planned releaseNext minor or patch release
P3Fix when capacity allows; good candidate for contributorsWithin two releases
P4Accepted but unlikely to be scheduled soon; kept open for visibilityNo target

9.3 Status flow

Each report moves through the states below. Map them to labels or project board columns in your tracker, and set a stale period for "needs info" (Example: 14 days) in the contributing guide.

10. Resolution (maintainers)

FieldValue
Root cause[Example: Serif theme CSS set a fixed table width that the PDF renderer did not override]
Fix[Pull request link]
Regression test[Test name or link]
Fixed in version[vX.Y.Z]
Changelog entry[Example: "Fixed: wide tables are no longer cut off in PDF export with the Serif theme (#142)"]
Verified by[@name], YYYY-MM-DD

Appendix A: GitHub issue form

The form below collects sections 1 to 8 as structured fields. GitHub reads issue forms from the .github/ISSUE_TEMPLATE folder, and each form needs the top-level keys name, description and body.

name: Bug report
description: Report something that does not work as documented
title: "[Bug]: "
labels: ["bug", "needs-triage"]
body:
  - type: markdown
    attributes:
      value: |
        Thanks for the report. Security vulnerabilities must be reported privately, see SECURITY.md.
  - type: input
    id: version
    attributes:
      label: Product version
      placeholder: "4.2.0"
    validations:
      required: true
  - type: input
    id: environment
    attributes:
      label: Operating system and browser
      placeholder: "macOS 26.1, Firefox 145"
    validations:
      required: true
  - type: textarea
    id: steps
    attributes:
      label: Steps to reproduce
      value: |
        1.
        2.
        3.
    validations:
      required: true
  - type: textarea
    id: expected
    attributes:
      label: Expected behaviour
    validations:
      required: true
  - type: textarea
    id: actual
    attributes:
      label: Actual behaviour
      description: Copy error messages as text.
    validations:
      required: true
  - type: textarea
    id: logs
    attributes:
      label: Logs
      render: text
  - type: dropdown
    id: severity
    attributes:
      label: How bad is it for you?
      options:
        - Data loss or crash
        - Important feature broken
        - Annoying, with a workaround
        - Cosmetic
  - type: checkboxes
    id: checks
    attributes:
      label: Checks
      options:
        - label: I searched existing issues for duplicates
          required: true
        - label: I removed secrets and personal data from this report
          required: true

Standard and licence note

Based on common open-source issue-tracking practice and on the GitHub documentation for issue forms and community health files (docs.github.com, checked October 2026; issue forms were marked public preview). The topics of the maintainer sections are aligned with the incident report information item of ISO/IEC/IEEE 29119-3:2021; no text, table or definition from that copyrighted standard is reproduced. Official text: ISO, purchase or licensed access: https://www.iso.org/standard/79429.html. The CVSS v4.0 severity ranges are cited from the FIRST CVSS v4.0 specification (https://www.first.org/cvss/v4.0/specification-document). The severity and priority scales are original examples, not a normative standard; adapt them to your project. The text is original. Check the current official pages before you publish. Template licence: MIT.

Related templates