Skip to content

Create Jira issue

Create Jira issue #6

Workflow file for this run

name: Create Jira issue
on:
issues:
types: [opened]
jobs:
create-issue:
name: Create Jira issue
runs-on: ubuntu-latest
steps:
- name: Login
uses: atlassian/gajira-login@v3
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
- name: Create Issue
uses: atlassian/gajira-create@v3
with:
project: ISSUE
issuetype: Task
summary: '${{ github.event.issue.title }}'
description: |

Check failure on line 24 in .github/workflows/jira-sync.yml

View workflow run for this annotation

GitHub Actions / Create Jira issue

Invalid workflow file

The workflow is not valid. .github/workflows/jira-sync.yml (Line: 24, Col: 22): Unexpected symbol: '('. Located at position 67 within expression: github.event.issue.body && github.event.issue.body .replace(/<!--[\s\S]*?-->/g, '') .replace(/^## 💥 이슈 설명/m, 'h2. 💥 이슈 설명') .replace(/^## 📚 TO-DO/m, 'h2. 📚 TO-DO') .replace(/^## 👀 참고 사항/m, 'h2. 👀 참고 사항') .replace(/^- \[ \] /gm, '* ') .replace(/^ - \[ \] /gm, '** ') .replace(/^ - \[ \] /gm, '*** ')
h2. 이슈 상세 정보
* GitHub Issue URL: [${{ github.event.issue.html_url }}]
* 생성자: ${{ github.event.issue.user.login }}
* 라벨: ${{ join(github.event.issue.labels.*.name, ', ') }}
${{
github.event.issue.body &&
github.event.issue.body
.replace(/<!--[\s\S]*?-->/g, '')
.replace(/^## 💥 이슈 설명/m, 'h2. 💥 이슈 설명')
.replace(/^## 📚 TO-DO/m, 'h2. 📚 TO-DO')
.replace(/^## 👀 참고 사항/m, 'h2. 👀 참고 사항')
.replace(/^- \[ \] /gm, '* ')
.replace(/^ - \[ \] /gm, '** ')
.replace(/^ - \[ \] /gm, '*** ')
}}