Skip to content

Commit

Permalink
Merge pull request #1061 from hashicorp/barrettclark-patch-1
Browse files Browse the repository at this point in the history
Update call-jira-issue-sync.yml
  • Loading branch information
barrettclark committed Sep 15, 2023
2 parents 7364725 + c7147b8 commit 1753042
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/call-jira-issue-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ on:
issue_comment:
types: [created]

env:
EPIC_LINK_BUG: "TF-7331"
EPIC_LINK_FEATURE: "TF-3484"

jobs:
call-workflow:
uses: ./.github/workflows/jira-issue-sync.yml
with:
project: TF
issue-extra-fields: |
{ "customfield_10091": ["TF-CLI"],
"customfield_10008": ["${{ contains(github.event.issue.labels.*.name, 'bug') && github.env.EPIC_LINK_BUG || github.env.EPIC_LINK_FEATURE }}"],
"customfield_10008": ["${{ contains(github.event.issue.labels.*.name, 'bug') && 'TF-7331' || 'TF-3484' }}"],
"labels": "${{ github.event.repository.name }}"
}
secrets: inherit

0 comments on commit 1753042

Please sign in to comment.