1
0
mirror of https://github.com/thingsboard/thingsboard-gateway synced 2025-10-26 22:31:42 +08:00

Update reopened_issue.yml

This commit is contained in:
Illia Barkov 2024-01-19 10:13:52 +02:00 committed by GitHub
parent 6481017410
commit 7b6cbb51ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
@ -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"