Skip to content

Commit 5364dab

Browse files
author
Pedro Angelo
committed
issue workflow for jira tickets
1 parent 7af14ef commit 5364dab

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/issue_notify.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This workflows creates an jira issue for the respective configured account
2+
#
3+
name: issue_notify
4+
on:
5+
issues:
6+
types: [opened]
7+
workflow_dispatch:
8+
jobs:
9+
jira_login:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Jira Login
13+
uses: atlassian/gajira-login@v2.0.0
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+
- name: Jira Create issue
19+
id: jira_ticket
20+
uses: atlassian/gajira-create@v2.0.1
21+
with:
22+
project: GIT
23+
issuetype: Bug
24+
summary: '[ns1-terraform] ${{github.event.issue.title}}'
25+
description: ${{github.event.issue.body}} see more ${{github.event.issue.html_url}}

0 commit comments

Comments
 (0)