Skip to content

Commit

Permalink
Update jira-issue-transfer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
slokie-so authored May 28, 2024
1 parent 4fa8e8f commit 1955e24
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/jira-issue-transfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,20 @@ jobs:
summary: ${{ github.event.issue.title }}
description: "Github Issue Link: ${{ github.event.issue.html_url}} \r\n ${{ github.event.issue.body }}"
fields: '{"labels":["GitHubReport"]}'
run: echo "Issue ${{ steps.bug.outputs.issue }} was created"
JIRA_TICKET: ${{ steps.bug.outputs.issue }}
- name: Jira Create Enhancement
id: enhancement
if: contains(github.event.issue.labels.*.name, 'ticketed', 'enhancement') && !contains(github.event.issue.labels.*.name, 'ticketed')
if: contains(github.event.issue.labels.*.name, 'ticketed', 'enhancement')
uses: atlassian/gajira-create@v3
with:
project: BP
issuetype: 'Product Feature'
summary: ${{ github.event.issue.title }}
description: "Github Issue Link: ${{ github.event.issue.html_url}} \r\n ${{ github.event.issue.body }}"
fields: '{"labels":["GitHubReport"]}'
run: echo "Issue ${{ steps.enhancement.outputs.issue }} was created"


JIRA_TICKET: ${{ steps.enhancement.outputs.issue }}

- name: Read Ticket Number
id: Ticket
run: echo "$JIRA_TICKET"

0 comments on commit 1955e24

Please sign in to comment.