You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
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!
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