File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Create Jira Ticket for Github Issue
2
+
3
+ on :
4
+ issues :
5
+ types : [opened]
6
+
7
+ jobs :
8
+ issue-jira :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+
12
+ - name : Login to Jira
13
+ uses : atlassian/gajira-login@master
14
+ env :
15
+ JIRA_BASE_URL : ${{ secrets.JIRA_BASE_URL }}
16
+ JIRA_USER_EMAIL : ${{ secrets.JIRA_USER_EMAIL }}
17
+ JIRA_API_TOKEN : ${{ secrets.JIRA_API_TOKEN }}
18
+
19
+ - name : Create Jira Issue
20
+ id : create_jira
21
+ uses : atlassian/gajira-create@master
22
+ with :
23
+ project : ${{ secrets.JIRA_PROJECT }}
24
+ issuetype : ${{ secrets.JIRA_ISSUE_TYPE }}
25
+ summary : Github | Issue | ${{ github.event.repository.name }} | ${{ github.event.issue.title }}
26
+ description : |
27
+ *GitHub Issue:* ${{ github.event.issue.html_url }}
28
+
29
+ *Description:*
30
+ ${{ github.event.issue.body }}
31
+ fields : " ${{ secrets.ISSUES_JIRA_FIELDS }}"
You can’t perform that action at this time.
0 commit comments