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,456,603
Community Members
 
Community Events
176
Community Groups

How to use multiple if condition along with Lookup Issues

Hello Team,

       I am trying jira automation rule with compare two values and search issues using JQL  If Lookup issue is not empty  then it will create link.

This works attached the screenshot. But i need to compare 2 set of values. Inside if condition compared few values , search issues using JQL and else if compare few condition, once again search issues using JQL . If any of if condition matches then create link. But nested if condition used i can't value of {{lookupissues}} outside if condition in a rule. Could you please suggest how to write automation rule?

Thanks,

 

2 answers

0 votes

Hi @Prashantha Kumari -- Welcome to the Atlassian Community!

I suggest taking a look at this information on list filtering: https://community.atlassian.com/t5/Automation-articles/Filtering-smart-value-lists/ba-p/1827588

And this one on the and() function for conditional filtering: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-conditional-logic/#and

If those do not help, please post images of your complete rule, the audit log details showing the rule execution, and explain how it is not working how you expect.  That may provide context for the community to offer suggestions.  Thanks!

Kind regards,
Bill

Hi @Prashantha Kumari 

Can you provide a better explanation using some realistic examples?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS

Atlassian Community Events