Skip to content

Commit dfcc32e

Browse files
authored
Merge pull request #579 from Emurgo/GH-issues-to-Jira-task
gh_issues2jira_task workflow
2 parents cdecf67 + 9733ecf commit dfcc32e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
on:
2+
issues:
3+
types: [opened]
4+
5+
name: Jira Actions
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
name: Create Jira task
11+
steps:
12+
- name: Login
13+
uses: atlassian/gajira-login@master
14+
env:
15+
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
16+
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
17+
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
18+
19+
- name: Jira Create issue
20+
uses: atlassian/gajira-create@v3
21+
id: create
22+
with:
23+
project: SERLIB
24+
issuetype: Task
25+
summary: GH-${{ github.event.issue.number }}. ${{ github.event.issue.title }}
26+
description: |
27+
${{ github.event.issue.html_url }}
28+
${{ github.event.issue.body }}
29+
30+
31+
- name: Log created issue
32+
run: echo "Issue ${{ steps.create.outputs.issue }} was created"

0 commit comments

Comments
 (0)