gajira-create
gajira-create copied to clipboard
Labels aren't applied successfully on created issues
In this example:
- name: Create JIRA Issue
id: create
uses: atlassian/gajira-create@v3
with:
project: IL23
issuetype: Task
summary: CI Failure for ${{ github.repository }}
description: Please see full details at https://github.com/${{ github.repository}}/actions/runs/${{ github.run_id }}
fields: '{"labels": ["ExampleLabel"]}'
It creates the Task in JIRA for the correct project, but the label doesn't exist.
Hi Jesse, My team recently took over some of these actions, I went through the process from scratch and I am getting labels appear using the same syntax as you...
Would you be able to retry?
Unlikely, but can you double check that the actions were successful in your GitHub actions tab, just incase it returned an error.
- name: Create
id: create
uses: atlassian/gajira-create@v3
with:
project: E2E
issuetype: Task
summary: Test task from GH
description: details of things
fields: '{"labels": ["ExampleLabel"]}'
# Show me the new issue
- name: Log created issue
run: echo "Issue ${{ steps.create.outputs.issue }} was created"