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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Block transition when issue has been in a status

Hello,

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?

IssueCancelled.PNG

 

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