Skip to content

Commit

Permalink
Update reopened_issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imbeacon authored Jan 19, 2024
1 parent 6481017 commit 7b6cbb5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/reopened_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ on:
types:
- reopened

name: Move ticket to Backlog if it was reopened
name: Move ticket if it was reopened

jobs:
close-ticket-in-jira:
if: ${{ !github.event.issue.pull_request }}
name: Move ticket to backlog if reopened
name: Move ticket if reopened
runs-on: ubuntu-latest
steps:
- name: Login
Expand Down Expand Up @@ -44,8 +44,17 @@ jobs:
- name: Move to Backlog
if: steps.find_ticket.outputs.issue != ''
id: transition
id: transition_to_backlog
uses: atlassian/gajira-transition@v3
with:
issue: ${{ steps.find_ticket.outputs.issue }}
transition: "task in backlog"

- name: Move to Backlog
if: steps.find_ticket.outputs.issue != ''
id: transition_to_todo
uses: atlassian/gajira-transition@v3
with:
issue: ${{ steps.find_ticket.outputs.issue }}
transition: "Admin permissions only"

0 comments on commit 7b6cbb5

Please sign in to comment.