File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -10,20 +10,22 @@ jobs:
1010 if : contains(github.event.label.name, 'bug') # Trigger only when the 'bug' label is added
1111 runs-on : ubuntu-latest
1212 steps :
13+ - name : Login to Jira
14+ uses : atlassian/gajira-login@v3
15+ env :
16+ JIRA_BASE_URL : ${{ secrets.JIRA_BASE_URL }} # The base URL of your Jira instance
17+ JIRA_USER_EMAIL : ${{ secrets.JIRA_USER_EMAIL }} # The email associated with your Jira user
18+ JIRA_API_TOKEN : ${{ secrets.JIRA_TOKEN }} # The API token for Jira
19+
1320 - name : Create Jira Issue
14- uses : atlassian/gajira-create@v3.1.0
21+ uses : atlassian/gajira-create@v3
1522 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 }}"
23+ project : JGI # The Jira project key where the issue should be created
24+ issuetype : Bug # The type of issue to create
25+ summary : ${{ github.event.issue.title }} # The title of the issue from GitHub
2126 description : |
22- Reporter: ${{ github.actor }}
27+ ** Reporter:** ${{ github.actor }}
2328
24- Issue URL: ${{ github.event.issue.html_url }}
29+ ** Issue URL:** ${{ github.event.issue.html_url }}
2530
26- Description:
27- ${{ github.event.issue.body }}
28- issue-type : Bug
29- assignee : ${{ github.actor }}
31+ **Description:** ${{ github.event.issue.body }}
You can’t perform that action at this time.
0 commit comments