From b8f46def37ffff8f30d536b0109f16741ca6408a Mon Sep 17 00:00:00 2001 From: samitab Date: Fri, 9 Aug 2024 23:26:02 +1000 Subject: [PATCH] [ignore] Added workflow to sync Issues and Pull Requests to Jira --- .github/workflows/jira-issue-sync.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/jira-issue-sync.yml diff --git a/.github/workflows/jira-issue-sync.yml b/.github/workflows/jira-issue-sync.yml new file mode 100644 index 000000000..d6d97c8f5 --- /dev/null +++ b/.github/workflows/jira-issue-sync.yml @@ -0,0 +1,25 @@ +name: Sync GitHub Issues & Pull Requests to Jira + +on: [issues, issue_comment, pull_request] +concurrency: jira_issues + +jobs: + sync_issues_to_jira: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Sync GitHub Issues & Pull Requests to Jira + uses: ciscoecosystem/sync-jira-actions@v1.1 + with: + sync_label: jira-sync + status_field_id: 10740 + find_jira_retries: 0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + JIRA_PASS: ${{ secrets.JIRA_PASS }} + JIRA_USER: ${{ secrets.JIRA_USER }} + JIRA_URL: ${{ secrets.JIRA_URL }} + JIRA_PROJECT: DCNE + JIRA_COMPONENT: ansible-aci + JIRA_ISSUE_TYPE: GitHub Issue