Skip to content

Commit

Permalink
Merge branch 'payplug:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
oallain authored Jun 15, 2022
2 parents 9e9b3ca + 6b8dbde commit 6f38339
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/jira.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CREATE JIRA ISSUE

on:
issues:
types: [opened, edited]

jobs:
jira:
name: Create Jira issue
runs-on: ubuntu-latest
steps:
- name: Jira Login
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

- name: Create
id: create
uses: atlassian/gajira-create@master
with:
project: SMP
issuetype: Sylius Technical Support
summary: "${{ github.event.issue.title }} #${{ github.event.issue.number }}"
# Valeur par default "from github" en MVP
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"}'

- name: Log
run: echo "Created issue ${{ steps.create.outputs.issue }}"

0 comments on commit 6f38339

Please sign in to comment.