Skip to content

Commit 186bb80

Browse files
authored
Update jira_create_issue.yml
1 parent ba40712 commit 186bb80

File tree

1 file changed

+4
-26
lines changed

1 file changed

+4
-26
lines changed
Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,12 @@
1+
name: Create Issue in Jira
2+
13
on:
24
issues:
35
types:
46
- opened
57
- reopened
68

7-
name: Create Issue In Jira
8-
99
jobs:
1010
create_jira_issue:
11-
name: Create Jira Issue
12-
runs-on: ubuntu-latest
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@master
16-
17-
- name: Login
18-
uses: atlassian/gajira-login@master
19-
env:
20-
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
21-
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
22-
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
23-
24-
- name: Create
25-
id: create
26-
uses: atlassian/gajira-create@v3
27-
with:
28-
project: PETOSS
29-
issuetype: Task
30-
summary: ${{ github.event.repository.name }} ${{ github.event.issue.number }} ${{ github.event.issue.title }}
31-
description: ${{ github.event.issue.body }}
32-
33-
- name: Log created issue
34-
run: echo "Issue ${{ steps.create.outputs.issue }} was created"
11+
uses: XeroAPI/Xero-OpenAPI/.github/workflows/jira_create_issue.yml@master
12+
secrets: inherit

0 commit comments

Comments
 (0)