File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # Creates jira tickets for new github issues to help triage
2+ name : Jira Issue Creator
3+
4+ on :
5+ issues :
6+ types : [opened]
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-18.04
11+ environment : Jira
12+ name : SDK Bot Jira Issue Creation
13+ steps :
14+ - name : Login
15+ uses : atlassian/gajira-login@master
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 issue
22+ id : create
23+ uses : atlassian/gajira-create@master
24+ with :
25+ project : ${{ secrets.JIRA_PROJECT }}
26+ issuetype : Task
27+ summary : |
28+ [SDK - JS] ${{ github.event.issue.title }}
29+ description : |
30+ ${{ github.event.issue.url}}
31+ fields : ' {"customfield_10006": 1039, "customfield_11481": {"value": "Data Management"}, "customfield_11200":
32+ {"value": "SDK"}}' # sprint, pillar, pod
33+
34+ - name : Log created issue
35+ run : echo "Issue AMP-${{ steps.create.outputs.issue }} was created"
You can’t perform that action at this time.
0 commit comments