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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,642,110
Community Members
 
Community Events
196
Community Groups

JIRA expression Nested IF condition

Hello All,

        We have a SIL validator in JIRA server version which has nested if conditions. Suprised to know that JIRA Cloud does not support SIL validators directly and have to use JIRA Expressions. Does JIRA Expressions support nested if conditions?

if(condition 1 is true){

      if(condition 2 is true){

       do something      

      }

}

1 answer

0 votes
Oliver Siebenmarck _Polymetis Apps_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 09, 2022

Hi @Vignesh Kumar ,

Welcome to the community and welcome to Jira Cloud!

Personally, I'm a huge fan of Jira Expressions, and I hope you'll come to like them.

Yes, nested conditions are possible and thankfully quite easy to do. Let's say you want a validator that checks that an issue is assigned and that its priority is medium. Here's how you'd do that:

issue.assignee != null && issue.priority == "Medium"

 Of course, you can also do OR and so much more, check out the documentation

Hope that helps,
 Oliver

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events