Skip to content

Commit ba40712

Browse files
authored
Create jira_create_issue.yml
1 parent f9f720f commit ba40712

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
on:
2+
issues:
3+
types:
4+
- opened
5+
- reopened
6+
7+
name: Create Issue In Jira
8+
9+
jobs:
10+
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"

0 commit comments

Comments
 (0)