File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Create Jira Issue on Label
2+
3+ on :
4+ issues :
5+ types :
6+ - labeled
7+
8+ jobs :
9+ create-jira-issue :
10+ if : contains(github.event.label.name, 'bug') # Trigger only when the 'bug' label is added
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Create Jira Issue
14+ uses : atlassian/gajira-create@v3.1.0
15+ with :
16+ jira-base-url : ${{ secrets.JIRA_BASE_URL }}
17+ jira-user-email : ${{ secrets.JIRA_USER_EMAIL }}
18+ jira-api-token : ${{ secrets.JIRA_TOKEN }}
19+ project-key : JGI
20+ summary : " Bug: ${{ github.event.issue.title }}"
21+ description : |
22+ Reporter: ${{ github.actor }}
23+
24+ Issue URL: ${{ github.event.issue.html_url }}
25+
26+ Description:
27+ ${{ github.event.issue.body }}
28+ issue-type : Bug
29+ assignee : ${{ github.actor }}
You can’t perform that action at this time.
0 commit comments