Repository: numpy/numpy
Pull request: Added priority in bug-report issue-template
Added the following to the “Bug report” issue template:
- Dropdown to select the priority
- Textarea for Mentioning the Significance of the issue.

**Priority**:
- P1 (Critical)
- P2 (High)
- P3 (Medium)
- P4 (Low)
- P5 (Trivial)

**Significance of the issue**:
- textarea to mention the significance of the issue.

Justification:
Mentioning the priority of an issue will help the core developers and triage team to better understand and manage open issues.
We can also set up GitHub Bot to automatically assign a label to the issue based on the priority.

This Pull request closes #21919.

Problem statement:
DOC: Add a request for explaining the significance of an issue to the issue templates
### Issue with current documentation:

This suggestion emerged during a discussion at the latest triage meeting. It would help the core developers and triage team better manage open issues in numpy/numpy if an author mentioned why it should be prioritized. 


### Idea or request for content:

Add to the existing issue templates a request for explaining how a reported issue negatively affects someone’ work or why it should be prioritized.
P.S. Reporting an issue about the issue template is a little meta, isn’t it?!

Hints from issue discussion:

Commit message: Added priority in bug-report issue-template

Patch to review:
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index 29d0d0dd0f22..12a1b657fc02 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -47,5 +47,33 @@ body:
   attributes:
     label: "NumPy/Python version information:"
     description: Output from `import sys, numpy; print(numpy.__version__, sys.version)`.
+  validations:
+    required: true
+
+- type: dropdown
+  attributes:
+    label: "Please select priority:"
+    description: |
+      Critical - The issue prevents users from running NumPy or causes crashes.
+      High - Issues that negatively affect someone’s work or that are critical for the project.
+      Medium -Issues that are important for the project, but not critical.
+      Low - Issues that are not critical for the project.
+      Trivial - The issue is a cosmetic issue or a very low-priority bug.
+    options:
+    - P1 (Critical)
+    - P2 (High)
+    - P3 (Medium)
+    - P4 (Low)
+    - P5 (Trivial)
+  validations:
+    required: true
+
+- type: textarea
+  attributes:
+    label: "Significance of the issue:"
+    description: >
+      Please explain how this issue negatively affects your work or why it should be prioritized.
+    placeholder: |
+      << your explanation here >>
   validations:
     required: true
\ No newline at end of file


Code review comments:
diff_hunk: @@ -47,5 +47,33 @@ body:
   attributes:
     label: "NumPy/Python version information:"
     description: Output from `import sys, numpy; print(numpy.__version__, sys.version)`.
+  validations:
+    required: true
+
+- type: dropdown
+  attributes:
+    label: "Please select priority:"
+    description: |
+      Critical - The issue prevents users from running NumPy or causes crashes.
+      High - Issues that negatively affect someone’s work or that are critical for the project.
+      Medium -Issues that are important for the project, but not critical.
+      Low - Issues that are not critical for the project.
+      Trivial - The issue is a cosmetic issue or a very low-priority bug.
+    options:
+    - P1 (Critical)
+    - P2 (High)
+    - P3 (Medium)
+    - P4 (Low)
+    - P5 (Trivial)
+  validations:
+    required: true
+
+- type: textarea
+  attributes:
+    label: "Significance of the issue:"
path: .github/ISSUE_TEMPLATE/bug-report.yml
text: @user1:
```suggestion
    label: "Context for the issue:"
```