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'm trying to restrict a Scrptrunner fragment by two variables with an "AND" and really struggling. I can get the two variables to work independently, and if I put them both into the condition I can get them to work as an "OR".
I'm not a classically trained codist... so I'm struggling to get the syntax correct.
I've tried variations of the below without success. Can anyone help me out?
jiraHelper.project?.key != "ABC124" && issue.issueType.name != "Incident"