diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index c1a217a64c3d..4588c563cb58 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -1,15 +1,21 @@
name: Bug Report
description: Report issues with one of our products.
-labels: [ 'Needs triage', '[Type] Bug' ]
+labels: [ 'Needs triage', '[Type] Bug', 'User Report' ]
body:
- type: markdown
attributes:
value: |
- Thanks for contributing to Jetpack!
- Pick a clear title ("Sharing: Facebook button missing") and proceed.
+ ### Thanks for contributing to Jetpack!
- __Avoid using image hosting services such as Cloudup, Droplr, Imgur, etc., to link to media.__
- Instead, attach screenshot(s) or recording(s) directly in any of the text areas below: click, then drag and drop.
+ Please write a clear title, then fill in the fields below and submit.
+
+ Please **do not** link to image hosting services such as Cloudup, Droplr, Imgur, etc…
+ Instead, directly embed screenshot(s) or recording(s) in any of the text areas below: click, then drag and drop.
+ - type: markdown
+ attributes:
+ value: |
+ ---
+ ## Core Information
- type: dropdown
id: plugin-type
attributes:
@@ -31,15 +37,19 @@ body:
multiple: true
validations:
required: true
+ - type: textarea
+ id: summary
+ attributes:
+ label: Quick summary
- type: textarea
id: steps
attributes:
- label: Steps to Reproduce
+ label: Steps to reproduce
placeholder: |
- 1. Go to '...'
- 2. Click on '....'
- 3. Scroll down to '....'
- ...
+ 1. Start at `site-domain.com/blog`.
+ 2. Click on any blog post.
+ 3. Click on the 'Like' button.
+ 4. ...
validations:
required: true
- type: textarea
@@ -54,67 +64,18 @@ body:
label: What actually happened
placeholder: |
eg. Clicking the button does nothing visibly.
- - type: dropdown
- id: browser
- attributes:
- label: Browser
- description: (You may select more than one)
- options:
- - Google Chrome/Chromium
- - Mozilla Firefox
- - Microsoft Edge
- - Apple Safari
- - iOS Safari
- - Android Chrome
- multiple: true
- - type: textarea
- id: other
- attributes:
- label: Other information
- placeholder: Screenshots, additional logs, notes, etc.
- - type: markdown
- attributes:
- value: |
- ---
- ## Additional context
-
- The following section is optional. If you're an Automattician, you should be able to fill it in. If not, please scroll to the bottom and submit the issue.
- - type: dropdown
- id: site-type
- attributes:
- label: Platform (Simple, Atomic, or both?)
- description: (You may select more than one)
- options:
- - Simple
- - Atomic
- - Self-hosted
- multiple: true
- - type: markdown
- attributes:
- value: |
- ## Issue severity
-
- Please provide details around how often the issue is reproducible & how many users are affected.
- - type: dropdown
- id: reproducibility
- attributes:
- label: Reproducibility
- options:
- - Consistent
- - Intermittent
- - Once
- validations:
- required: true
- type: dropdown
id: users-affected
attributes:
- label: Severity
- description: How many users are impacted? A guess is fine.
+ label: Impact
+ description: Approximately how many users are impacted?
options:
- One
- Some (< 50%)
- Most (> 50%)
- All
+ validations:
+ required: true
- type: dropdown
id: workarounds
attributes:
@@ -125,10 +86,31 @@ body:
- Yes, difficult to implement
- Yes, easy to implement
- There is no user impact
+ validations:
+ required: true
+ - type: markdown
+ attributes:
+ value: |
+
+
+ ## Optional Information
+ The following section is optional.
+ - type: dropdown
+ id: site-type
+ attributes:
+ label: Platform (Simple and/or Atomic)
+ description: (You may select more than one)
+ options:
+ - Simple
+ - Atomic
+ - Self-hosted
+ multiple: true
- type: textarea
- id: workarounds-detail
+ id: logs
attributes:
- label: Workaround details
- description: If you are aware of a workaround, please describe it below.
+ label: Logs or notes
placeholder: |
- e.g. There is an alternative way to access this setting in the sidebar, but it's not readily apparent.
+ Add any information that may be relevant, such as:
+ - Browser/Platform
+ - Theme
+ - Logs/Errors
diff --git a/projects/github-actions/repo-gardening/changelog/update-bug-report-format b/projects/github-actions/repo-gardening/changelog/update-bug-report-format
new file mode 100644
index 000000000000..02ecdff74f1c
--- /dev/null
+++ b/projects/github-actions/repo-gardening/changelog/update-bug-report-format
@@ -0,0 +1,4 @@
+Significance: patch
+Type: changed
+
+Update triage task to match new bug report template format.
diff --git a/projects/github-actions/repo-gardening/src/tasks/triage-new-issues/index.js b/projects/github-actions/repo-gardening/src/tasks/triage-new-issues/index.js
index 0190a653a5de..22a4f731dc68 100644
--- a/projects/github-actions/repo-gardening/src/tasks/triage-new-issues/index.js
+++ b/projects/github-actions/repo-gardening/src/tasks/triage-new-issues/index.js
@@ -44,7 +44,7 @@ function findPlugins( body ) {
* @returns {Array} Platforms impacted by issue.
*/
function findPlatforms( body ) {
- const regex = /###\sPlatform\s\(Simple,\sAtomic,\sor\sboth\?\)\n\n([a-zA-Z ,-]*)\n\n/gm;
+ const regex = /###\sPlatform\s\(Simple\sand\/or Atomic\)\n\n([a-zA-Z ,-]*)\n\n/gm;
const match = regex.exec( body );
if ( match ) {
@@ -67,23 +67,23 @@ function findPlatforms( body ) {
*/
function findPriority( body ) {
// Look for priority indicators in body.
- const priorityRegex = /###\sSeverity\n\n(?.*)\n\n###\sAvailable\sworkarounds\?\n\n(?.*)\n/gm;
+ const priorityRegex = /###\sImpact\n\n(?.*)\n\n###\sAvailable\sworkarounds\?\n\n(?.*)\n/gm;
let match;
while ( ( match = priorityRegex.exec( body ) ) ) {
- const [ , severity = '', blocking = '' ] = match;
+ const [ , impact = '', blocking = '' ] = match;
debug(
- `triage-new-issues: Reported priority indicators for issue: "${ severity }" / "${ blocking }"`
+ `triage-new-issues: Reported priority indicators for issue: "${ impact }" / "${ blocking }"`
);
if ( blocking === 'No and the platform is unusable' ) {
- return severity === 'One' ? 'High' : 'BLOCKER';
+ return impact === 'One' ? 'High' : 'BLOCKER';
} else if ( blocking === 'No but the platform is still usable' ) {
return 'High';
} else if ( blocking === 'Yes, difficult to implement' ) {
- return severity === 'All' ? 'High' : 'Normal';
+ return impact === 'All' ? 'High' : 'Normal';
} else if ( blocking !== '' && blocking !== '_No response_' ) {
- return severity === 'All' || severity === 'Most (> 50%)' ? 'Normal' : 'Low';
+ return impact === 'All' || impact === 'Most (> 50%)' ? 'Normal' : 'Low';
}
return null;
}