name: Bug report
description: Report something that doesn't work, with the details needed to reproduce and fix it.
title: "<What fails> in <where> for <who>"
labels: ["bug"]
body:
  - type: markdown
    attributes:
      value: |
        Describe what the software did, not who caused it. File one bug per report, and remove passwords and tokens from logs and screenshots.
  - type: textarea
    id: environment
    attributes:
      label: Environment
      description: Build or version, browser or device and OS, environment (production, staging), and account role.
      placeholder: "https://www.saucedemo.com, account problem_user, Chromium 153, Windows 11"
    validations:
      required: true
  - type: textarea
    id: steps
    attributes:
      label: Steps to reproduce
      description: Numbered steps that anyone can follow from a known starting page.
      value: |
        1.
        2.
        3.
    validations:
      required: true
  - type: textarea
    id: expected
    attributes:
      label: Expected result
    validations:
      required: true
  - type: textarea
    id: actual
    attributes:
      label: Actual result
      description: Quote exact error messages.
    validations:
      required: true
  - type: input
    id: reproducibility
    attributes:
      label: Reproducibility
      placeholder: "6 of 6 attempts; standard_user is not affected"
  - type: textarea
    id: impact
    attributes:
      label: Impact
      description: Who is affected, what it costs them, and whether there is a workaround.
    validations:
      required: true
  - type: dropdown
    id: severity
    attributes:
      label: Severity
      options:
        - Blocker
        - Critical
        - Major
        - Minor
        - Trivial
    validations:
      required: true
  - type: dropdown
    id: priority
    attributes:
      label: Priority
      options:
        - P1
        - P2
        - P3
        - P4
  - type: textarea
    id: evidence
    attributes:
      label: Evidence
      description: Screenshots, video, console logs, HAR files, or traces. You can attach files by dragging them into this field.
