diff --git a/.github/workflows/create_jira_workflow.yml b/.github/workflows/create_jira_workflow.yml index 9f5fef2..d8e794e 100644 --- a/.github/workflows/create_jira_workflow.yml +++ b/.github/workflows/create_jira_workflow.yml @@ -18,7 +18,7 @@ jobs: ISSUE_TITLE="${{ github.event.issue.title }}" ISSUE_BODY="${{ github.event.issue.body }}" ISSUE_TYPE="Task" - if echo "${{ github.event.issue.labels.*.name }}" | grep -q '"bug"'; then + if echo "${{ join(github.event.issue.labels.*.name, '/n')}}" | grep -q '"bug"'; then ISSUE_TYPE="Bug" elif echo "${{ github.event.issue.labels.*.name }}" | grep -q "feature"; then ISSUE_TYPE="Story"