diff --git a/.github/.jira_sync_config.yaml b/.github/.jira_sync_config.yaml new file mode 100644 index 0000000..164af9a --- /dev/null +++ b/.github/.jira_sync_config.yaml @@ -0,0 +1,25 @@ +settings: + components: + - Craft Store + labels: + - Bug + - Enhancement + - Spike + - Epic + # Adds a comment with the JIRA ID + add_gh_comment: true + # Reflect changes on JIRA + sync_description: true + # Comments are synced from Github to JIRA + # Nothing goes from JIRA to Github + sync_comments: true + # epic_key: "MTC-296" + jira_project_key: "CRAFT" + status_mapping: + opened: Untriaged + closed: done + label_mapping: + Enhancement: Story + Bug: Bug + Spike: Spike + Epic: Epic diff --git a/.github/workflows/issues.yaml b/.github/workflows/issues.yaml deleted file mode 100644 index d3e1264..0000000 --- a/.github/workflows/issues.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# 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 }}