From 243abe93bf22a4c1bdfbc72b2bd4548846692b2c Mon Sep 17 00:00:00 2001 From: Chi Wai Chan Date: Tue, 28 May 2024 13:25:18 +0800 Subject: [PATCH 1/3] chore (managed by terraform): update .github/.jira_sync_config.yaml --- .github/.jira_sync_config.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/.jira_sync_config.yaml diff --git a/.github/.jira_sync_config.yaml b/.github/.jira_sync_config.yaml new file mode 100644 index 0000000..4f84898 --- /dev/null +++ b/.github/.jira_sync_config.yaml @@ -0,0 +1,23 @@ +# +# For more info about the settings, please refre to the github repository: +# https://github.com/canonical/gh-jira-sync-bot +# + +settings: + # Jira project key to create the issue in + jira_project_key: "SOLENG" + + # Dictionary mapping GitHub issue status to Jira issue status + status_mapping: + opened: Untriaged + closed: done + + # (Optional) Jira project components that should be attached to the created issue + # Component names are case-sensitive + components: + - storage-connector + + # (Optional) Dictionary mapping GitHub issue labels to Jira issue types. + # If label on the issue is not in specified list, this issue will be created as a Bug + label_mapping: + enhancement: Story From a64c5550cd543e20c74108bc784c8234f0acb633 Mon Sep 17 00:00:00 2001 From: Chi Wai Chan Date: Tue, 28 May 2024 13:25:18 +0800 Subject: [PATCH 2/3] chore (managed by terraform): update .github/.jira_sync_config.yaml --- .github/.jira_sync_config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/.jira_sync_config.yaml b/.github/.jira_sync_config.yaml index 4f84898..c033f6e 100644 --- a/.github/.jira_sync_config.yaml +++ b/.github/.jira_sync_config.yaml @@ -17,6 +17,9 @@ settings: components: - storage-connector + # (Optional) (Default: None) Parent Epic key to link the issue to + epic_key: SOLENG-46 + # (Optional) Dictionary mapping GitHub issue labels to Jira issue types. # If label on the issue is not in specified list, this issue will be created as a Bug label_mapping: From d6e671ac3ecbd17c965ca6710a099e28b717b68e Mon Sep 17 00:00:00 2001 From: Chi Wai Chan Date: Tue, 28 May 2024 13:25:18 +0800 Subject: [PATCH 3/3] chore: remove issues_to_jira.yaml --- .github/workflows/issues_to_jira.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/issues_to_jira.yaml diff --git a/.github/workflows/issues_to_jira.yaml b/.github/workflows/issues_to_jira.yaml deleted file mode 100644 index cc44534..0000000 --- a/.github/workflows/issues_to_jira.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# This is a template `issues_to_jira.yaml` file for ops charms -# This file is managed by bootstack-charms-spec and should not be modified -# within individual charm repos. https://launchpad.net/bootstack-charms-spec - -# This workflow requires to provide JIRA webhook URL via JIRA_URL GitHub Secret. -# -# Read more: -# https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Automationtriggers-Incomingwebhook -# -# Original code source: -# https://github.com/beliaev-maksim/github-to-jira-automation - -name: Issues to JIRA - -on: - issues: - # available via github.event.action - types: [opened, reopened, closed] - -jobs: - update: - name: Update Issue - uses: beliaev-maksim/github-to-jira-automation/.github/workflows/issues_to_jira.yaml@master - secrets: - JIRA_URL: ${{ secrets.JIRA_URL }}