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,560,065
Community Members
 
Community Events
185
Community Groups

How to utilize OR condition within multiple components

I have a reqmt wherein I need to check multiple fields if they are EMPTY upon new issue creation and if yes,  then send an email to the reporter. How do I add multiple conditions in the same rule such that they use the OR condition for checking the fields ( email should be sent even if any one of the field amongst the multiple fields is EMPTY) . Currently the rule only seems to take AND conditions and only If all the specified fields are EMPTY , sends and email.

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
Mar 30, 2023 • edited

Hi @Kunal Kumar -- Welcome to the Atlassian Community!

First thing, using automation rules requires both learning and experimentation.  I encourage doing both to see what can help to solve your needs, and when you get stuck to then post a question to the community.

To get you started on creating your rule, please review this documentation and examples:

 

For your specific question, you may try an advanced compare condition, and use the conditional logic to build an expression for this test, using the or() function: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-conditional-logic/#or

Please note: The or() function only takes two parameters.  If you need to test more things you need to chain them together, such as with:

{{#if(or(A,or(B,C)))}} At least one thing was true {{/}}

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events