From 4c1e7ac6e052006ed1204614a34248526ab574a5 Mon Sep 17 00:00:00 2001 From: Chris Hirt Date: Thu, 29 Sep 2022 10:55:04 +0700 Subject: [PATCH 1/2] remove label "triage" from issue templates we are no longer using the label "triage". We have a project board column for that instead. --- .github/ISSUE_TEMPLATE/bug_report.md | 1 - .github/ISSUE_TEMPLATE/feature_request.md | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 09d39a70e2..24f6546b0f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -2,7 +2,6 @@ name: Bug report about: Create a report to help us improve title: 'bug: ' -labels: triage assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 3393be69fb..95d5f5c691 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,6 @@ name: Feature request about: Suggest an idea for this project title: 'feat: ' -labels: triage assignees: '' --- From 9d03ff1599c3661d8389eda8ca411c714ddeeea4 Mon Sep 17 00:00:00 2001 From: Chris Hirt Date: Thu, 29 Sep 2022 10:57:49 +0700 Subject: [PATCH 2/2] Set new issues to column "incoming" in backlog We now have a new column "incoming" where all new issues should go. Triage is now its own column waiting for further triage. --- .github/workflows/set-backlog-fields.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/set-backlog-fields.yml b/.github/workflows/set-backlog-fields.yml index 34a3a47cc6..7dd98160a1 100644 --- a/.github/workflows/set-backlog-fields.yml +++ b/.github/workflows/set-backlog-fields.yml @@ -61,11 +61,11 @@ jobs: } } }' -f org=$ORGANIZATION > project_data.json - + echo 'PROJECT_ID='$(jq '.data.organization.projectNext.id' project_data.json) >> $GITHUB_ENV echo 'FIELD_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "ProductOwner") | .id' project_data.json) >> $GITHUB_ENV - echo 'TRIAGE_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "ProductOwner") | .settings | fromjson.options[] | select(.name=="Triage") | .id' project_data.json) >> $GITHUB_ENV - + echo 'INCOMING_ID='$(jq '.data.organization.projectNext.fields.nodes[] | select(.name== "ProductOwner") | .settings | fromjson.options[] | select(.name=="Incoming") | .id' project_data.json) >> $GITHUB_ENV + - name: Add issue to project if: env.IN_PROJECT == 0 env: @@ -105,5 +105,5 @@ jobs: id } } - }' -f project=$PROJECT_ID -f item=$ITEM_ID -f field=$FIELD_ID -f field_value=${{ env.TRIAGE_ID }} - + }' -f project=$PROJECT_ID -f item=$ITEM_ID -f field=$FIELD_ID -f field_value=${{ env.INCOMING_ID }} +