I am trying to set up an automated notification based on the following criteria
In my case, I need to check if different field has value in it depending on the value that was selected in the multiselect field. And yes, more than one option is possible in my case.
So far I have tried setting up multiple if checks with JQL condition like below for each of the options in the multi select list
But either it is not doing all the checks before sending the notification and thus including issues that are not valid OR it is excluding valid issues because it is running through all of the if check.
I have also tried to use a FOR condition check but I cannot for the life of me figure out what condition to base it on.
Hello @Siddharth Ramesh
When asking for help with correctly an Automation Rule, it will help us help you more effectively if you provide screen images showing your entire rule and screen images showing the output of the rule's execution in the rule Audit Log.
If you simply used multiple IF conditions, then the first condition that does not pass would cause the rule to stop running. You need to use the IF/ELSE construct if you want logic such as:
If condition1 is true do X
Else check if condition2 is true and do Y in that case
Else check if condition3 is true and do Z in that case...
@Trudy Claspill thanks for checking this. This is what I had originally tried
The issue I noted with this is that the notification doesn't trigger because one of the IF conditions doesn't match. And when I changed it to "At least one condition matches" for an OR check instead of AND, it was triggering when one of the conditions didn't match and it was also sending multiple notifications. The FOR loop I tried didn't really work at all so I am not adding it here.
The issue with my scenario is that I need to check one field is not empty if a specific value is selected in my control field. BUT I also need to check different field for different values in my control field. Because of this all conditions need not match but multiple have to match. I have to send the notification ONLY when all of my applicable checks have cleared.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.