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.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I recently had a requirement that certain workflow transitions should fail if the assignee is one of three specific users.
Note that using this method, any number of accounts can be checked.
I am using the JMWE-provided build-your-own scripted validator, using this simple code:
let bad_users = ["abcdabcdabcdabcd", "1234567890abcdef", "0987654321abcdef"];
!!issue.assignee && !bad_users.includes(issue.assignee.accountId)
The secret that many admins are not aware of is that you can have multi-line code, using the ';' delimiter before the newline.
This works like a charm.
Amir Katz (Outseer)