Skip to content

Commit

Permalink
jira-issues GHA (#1202)
Browse files Browse the repository at this point in the history
* add jira-pr.yml

* update teams and add jira-issues.yml

* remove components | add TeamRD field

* add missing values

* make value an array in TeamRD

* make values an array

* make values an array issues

* fix values field

* fix value in issues

* fix typo on customfield
  • Loading branch information
BBBmau authored Jul 25, 2023
1 parent 2f9aaff commit e149367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jira-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
# 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 }}",
"customfield_10371": { "value": "GitHub" },
"customfield_10091": {"value": ["TF-HybridCloud"]},
"customfield_10091": ["TF-HybridCloud"],
"labels": ${{ steps.set-ticket-labels.outputs.LABELS }} }'
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jira-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
# customfield_10089 is "Issue Link", customfield_10371 is "Source" (use JIRA API to retrieve)
extraFields: '{ "customfield_10089": "${{ github.event.pull_request.html_url }}",
"customfield_10371": { "value": "GitHub" },
"customfield_10091": {"value": ["TF-HybridCloud"]},
"customfield_10091": ["TF-HybridCloud"],
"labels": ${{ steps.set-ticket-labels.outputs.LABELS }} }'
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
Expand Down

0 comments on commit e149367

Please sign in to comment.