Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Block transition when issue has been in a status


I have issues with this possible status: DRAFT, CANCELLED, PENDING APPROVAL, APPROVED, DONE AND OBSOLETE and the workflow in the attached image. I would like to add the possibility to transition from PENDING APPROVAL to CANCELLED, but only if the issue hasn't been never in APPROVED. I check some possibilities with scriprunner but I only can add the option of allowing the transition if the issue "has been" in a status and no if it "hasn't been" that is what I need. How could I do this?



Thanks in advance!

1 answer

0 votes
Laurie Sciutti
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 26, 2023

Hi @AgileHappyLearner ~ you should be able to do this by adding a "JQL query matches condition [ScriptRunner]" condition on a workflow transition from Pending Approval > Cancelled.  The JQL should be something like:


status was not Approved

Suggest an answer

Log in or Sign up to answer