name: 🐞 Bug Report
description: Tell us about something that's not working the way we (probably) intend.
body:
  - type: dropdown
    id: environment
    attributes:
      label: Environment
      description: Where are you using our software?
      options:
        - SaaS (https://sentry.io/)
        - self-hosted (https://develop.sentry.dev/self-hosted/)
    validations:
      required: true
  - type: textarea
    id: repro
    attributes:
      label: Steps to Reproduce
      description: How can we see what you're seeing? Specific is terrific.
      placeholder: |-
        1. foo
        2. bar
        3. baz
    validations:
      required: true
  - type: textarea
    id: expected
    attributes:
      label: Expected Result
    validations:
      required: true
  - type: textarea
    id: actual
    attributes:
      label: Actual Result
      description: Logs? Screenshots? Yes, please.
    validations:
      required: true
  - type: dropdown
    id: product-area
    attributes:
      label: Product Area
      description: Where in the product did you find the bug?
      options:
        # begin product areas - autogenerated by bin/react-to-product-owners-yml-changes.py
        - 'Unknown'
        - 'Sign In'
        - 'Issues'
        - 'Issues - Source Maps'
        - 'Issues - Suggested Fix'
        - 'Projects - Project Creation'
        - 'Projects - Project Details'
        - 'Performance'
        - 'Performance - Queries'
        - 'Performance - Interactions'
        - 'Performance - Web Vitals'
        - 'Profiling'
        - 'DDM'
        - 'Replays'
        - 'Crons'
        - 'Alerts'
        - 'Discover'
        - 'Dashboards'
        - 'Releases'
        - 'User Feedback'
        - 'Stats'
        - 'Settings'
        - 'Settings - General'
        - 'Settings - Projects'
        - 'Settings - Teams'
        - 'Settings - Members'
        - 'Settings - Security & Privacy'
        - 'Settings - Auth'
        - 'Settings - Relay'
        - 'Settings - Repositories'
        - 'Settings - Integrations'
        - 'Settings - Developer Settings'
        - 'Settings - Spend Allocation'
        - 'Settings - Spike Protection'
        - 'Settings - Subscription'
        - 'Help'
        - "What's New"
        - 'Footer'
        - 'APIs'
        - 'Ingestion and Filtering'
        - 'Org Relocation'
        - 'Other'
        # end product areas
    validations:
      required: true
  - type: input
    id: link
    attributes:
      label: Link
      placeholder: https://sentry.io/organizations/{ORG_SLUG}/...
      description: If on SaaS, where exactly did you find the bug? **Note:** This will divulge your org slug publicly.
    validations:
      required: false
  - type: input
    id: DSN
    attributes:
      label: DSN
      placeholder: https://{tag}@o{ORG_ID}.ingest.sentry.io/{PROJECT_ID}
      description: If on SaaS, what is your DSN? This is an easy way to give us your org ID (non-PII).
    validations:
      required: false
  - type: input
    id: version
    attributes:
      label: Version
      placeholder: 21.7.0 ← should look like this (check the footer)
      description: If on self-hosted, what version are you running?
    validations:
      required: false
  - type: markdown
    attributes:
      value: |-
        ## Thanks 🙏
        Check our [triage docs](https://open.sentry.io/triage/) for what to expect next.
    validations:
      required: false