diff --git a/.github/workflows/create-jira.yml b/.github/workflows/create-jira.yml index b8f30386d..0b4fa66db 100644 --- a/.github/workflows/create-jira.yml +++ b/.github/workflows/create-jira.yml @@ -19,23 +19,18 @@ jobs: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} JIRA_API_TOKEN: ${{ secrets.JIRA_TOKEN }} - - name: Create id: create uses: atlassian/gajira-create@master with: - project: LIBRARIES + project: ${{ secrets.JIRA_PROJECT }} issuetype: Bug summary: | [${{ github.event.repository.name }}] (${{ github.event.issue.number }}): ${{ github.event.issue.title }} description: | Github Link: ${{ github.event.issue.html_url }} ${{ github.event.issue.body }} - # Parent and Epic Link fields (set to same) - fields: '{ - "parent": {"key": "LIBRARIES-1963"}, - "customfield_10002": "LIBRARIES-1963" - }' - + fields: '{"parent": {"key": "${{ secrets.JIRA_EPIC_KEY }}"}}' + - name: Log created issue run: echo "Issue ${{ steps.create.outputs.issue }} was created"