Skip to content

Commit

Permalink
[ignore] Added workflow to sync Issues and Pull Requests to Jira
Browse files Browse the repository at this point in the history
  • Loading branch information
samiib committed Sep 13, 2024
1 parent 30a16d5 commit 342aa30
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/jira-issue-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Sync GitHub Issues & Pull Requests to Jira

on:
pull_request_target:
types: [opened, synchronize, reopened, labeled, unlabeled, edited, closed]
issues:
issue_comment:
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
link_closing_issues: true
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: terraform-provider-nd
JIRA_ISSUE_TYPE: GitHub Issue

0 comments on commit 342aa30

Please sign in to comment.