mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 00:32:09 -04:00
workflows/jira: Fix syntax error for createComment
This commit is contained in:
parent
5c9ab19d8f
commit
d1aa103ebc
1 changed files with 2 additions and 6 deletions
8
.github/workflows/jira.yml
vendored
8
.github/workflows/jira.yml
vendored
|
|
@ -68,9 +68,7 @@ jobs:
|
|||
summary: "${{ github.event.repository.name }}: ${{ github.event.issue.title }}"
|
||||
description: "${{ github.event.issue.body }}\n\n_Created from GitHub by ${{ github.actor }}._"
|
||||
# The field customfield_10089 refers to the Issue Link field in JIRA.
|
||||
fields: '{ "customfield_10089": "${{ github.event.issue.html_url }}",
|
||||
"components": [{ "name": "OSS" }],
|
||||
"labels": ${{ steps.set-ticket-labels.outputs.labels }} }'
|
||||
fields: '{ "customfield_10089": "${{ github.event.issue.html_url }}", "components": [{ "name": "OSS" }], "labels": ${{ steps.set-ticket-labels.outputs.labels }} }'
|
||||
|
||||
- name: Add tracking comment
|
||||
if: steps.create-ticket.outputs.issue != '' && steps.set-ticket-type.outputs.type != 'Invalid'
|
||||
|
|
@ -83,8 +81,6 @@ jobs:
|
|||
repo: context.repo.repo,
|
||||
body: `
|
||||
This issue has been synced to JIRA for planning.
|
||||
|
||||
JIRA ID: [${{ steps.create-ticket.outputs.issue }}](https://hashicorp.atlassian.net/browse/${{steps.create-ticket.outputs.issue}})`
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue