Browse Source

chore: fix JIRA workflow (#21037)

fix JIRA workflow
pull/21038/head^2
Dan Stough 7 months ago committed by GitHub
parent
commit
1793b506d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/jira-issues.yaml
  2. 2
      .github/workflows/jira-pr.yaml

2
.github/workflows/jira-issues.yaml

@ -48,7 +48,7 @@ jobs:
description: "${{ github.event.issue.body || github.event.pull_request.body }}\n\n_Created in GitHub by ${{ github.actor }}._" description: "${{ github.event.issue.body || github.event.pull_request.body }}\n\n_Created in GitHub by ${{ github.actor }}._"
# customfield_10089 is "Issue Link", customfield_10371 is "Source" (use JIRA API to retrieve) # customfield_10089 is "Issue Link", customfield_10371 is "Source" (use JIRA API to retrieve)
extraFields: '{ "customfield_10089": "${{ github.event.issue.html_url || github.event.pull_request.html_url }}", extraFields: '{ "customfield_10089": "${{ github.event.issue.html_url || github.event.pull_request.html_url }}",
"customfield_10371": { "value": "GitHub" }], "customfield_10371": { "value": "GitHub" },
"components": [{ "name": "${{ github.event.repository.name }}" }], "components": [{ "name": "${{ github.event.repository.name }}" }],
"labels": ${{ steps.set-ticket-labels.outputs.LABELS }} }' "labels": ${{ steps.set-ticket-labels.outputs.LABELS }} }'
env: env:

2
.github/workflows/jira-pr.yaml

@ -67,7 +67,7 @@ jobs:
description: "${{ github.event.issue.body || github.event.pull_request.body }}\n\n_Created in GitHub by ${{ github.actor }}._" description: "${{ github.event.issue.body || github.event.pull_request.body }}\n\n_Created in GitHub by ${{ github.actor }}._"
# customfield_10089 is "Issue Link", customfield_10371 is "Source" (use JIRA API to retrieve) # customfield_10089 is "Issue Link", customfield_10371 is "Source" (use JIRA API to retrieve)
extraFields: '{ "customfield_10089": "${{ github.event.pull_request.html_url }}", extraFields: '{ "customfield_10089": "${{ github.event.pull_request.html_url }}",
"customfield_10371": { "value": "GitHub" }], "customfield_10371": { "value": "GitHub" },
"components": [{ "name": "${{ github.event.repository.name }}" }], "components": [{ "name": "${{ github.event.repository.name }}" }],
"labels": ${{ steps.set-ticket-labels.outputs.LABELS }} }' "labels": ${{ steps.set-ticket-labels.outputs.LABELS }} }'
env: env:

Loading…
Cancel
Save