mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 13:33:32 +02:00
tests: transition if under review
this commit attempts to transition any failed test issues if they ticket is left in "Under Review" state Signed-off-by: ldelossa <ldelossa@redhat.com>
This commit is contained in:
committed by
Louis DeLosSantos
parent
3c1c4d95e1
commit
3bc5e42bd0
@@ -10,6 +10,10 @@ PLAN 84
|
||||
($jira ls --project PROCESS | awk -F: '{print $1}' | while read issue; do ../jira start $issue; done) | sed 's/^/# CLEANUP: /g'
|
||||
($jira ls --project PROCESS | awk -F: '{print $1}' | while read issue; do ../jira stop $issue; done) | sed 's/^/# CLEANUP: /g'
|
||||
|
||||
# for any issues still remaining, they are stuck in "Under Review" status
|
||||
($jira ls --project PROCESS | awk -F: '{print $1}' | while read issue; do ../jira transition --noedit -m "approve" "Approve" $issue; done) | sed 's/^/# CLEANUP: /g'
|
||||
($jira ls --project PROCESS | awk -F: '{print $1}' | while read issue; do ../jira transition --noedit -m "done" "Done" $issue; done) | sed 's/^/# CLEANUP: /g'
|
||||
|
||||
# reset login
|
||||
RUNS $jira logout
|
||||
echo "gojira123" | RUNS $jira login
|
||||
|
||||
Reference in New Issue
Block a user