Skip to content

Commit 6f38339

Browse files
authored
Merge branch 'payplug:master' into master
2 parents 9e9b3ca + 6b8dbde commit 6f38339

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/jira.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CREATE JIRA ISSUE
2+
3+
on:
4+
issues:
5+
types: [opened, edited]
6+
7+
jobs:
8+
jira:
9+
name: Create Jira issue
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Jira 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: Create
20+
id: create
21+
uses: atlassian/gajira-create@master
22+
with:
23+
project: SMP
24+
issuetype: Sylius Technical Support
25+
summary: "${{ github.event.issue.title }} #${{ github.event.issue.number }}"
26+
# Valeur par default "from github" en MVP
27+
fields: '{"customfield_10150": "${{ github.event.issue.body }}\n\nCreated from GitHub Action", "customfield_10106": "from github","customfield_10105": "https://www.from-github.fr","customfield_10108": "from github", "customfield_10145": "from github"}'
28+
29+
- name: Log
30+
run: echo "Created issue ${{ steps.create.outputs.issue }}"

0 commit comments

Comments
 (0)