File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : create_jira_issue
2+
3+ on :
4+ issues :
5+ types :
6+ - opened
7+
8+ jobs :
9+ create :
10+ runs-on : ubuntu-latest
11+ name : Create JIRA Issue
12+ steps :
13+
14+ - name : Login to Jira
15+ uses : atlassian/gajira-login@v3
16+ env :
17+ JIRA_BASE_URL : ${{ secrets.JIRA_BASE_URL }}
18+ JIRA_USER_EMAIL : ${{ secrets.JIRA_USER_EMAIL }}
19+ JIRA_API_TOKEN : ${{ secrets.JIRA_API_TOKEN }}
20+
21+ - name : Create Jira issue
22+ uses : atlassian/gajira-create@v3
23+ with :
24+ project : CORE
25+ issuetype : Task
26+ summary : ${{ github.event.issue.title }}
27+ description : |
28+ Created from github issue: ${{ github.event.issue.html_url }}
29+ ----
30+ ${{ github.event.issue.body }}
31+ fields : ' { "labels": ["github-issue"] }'
32+
33+ - name : Log created issue
34+ run : echo "Issue ${{ steps.create.outputs.issue }} was created"
You can’t perform that action at this time.
0 commit comments