Jira Automation Tool - Adding a Condition to do nothing

Alan Williams
Contributor
September 18, 2018

I try to consolidate automation rules as much as possible so as to not have a million rules out there.

To that end I need a rule to not take any action if a set of conditions exist (like the field is already filled out).

Every time the rule takes an action the reporter gets notified so it gets annoying.

Right now the automation plugin won't allow me to do this when I had some IF conditions and then don't add any action.  There is no action to "do nothing".

I'm using the following expression:

issue.field equals issue.field.value

Any help would be appreciated.

 

thanks!

 

Alan

1 answer

1 vote
John McKiernan
Atlassian Partner
September 18, 2018

Hi Alan, 

I can definitely see where you are coming from here. 

The best thing to do is to use an IF/ELSE condition.

You could then use an action such as 'log action'. This will simply log an action on the audit log without causing any effects or notifications outside of Automation for Jira. 

The screenshot below gives an example using your issue field. 

*Note the 'Else' compare condition also. This is the best way to identify when {{issue.field}} contains some value. 

Screenshot at Sep 19 15-43-27.png

Let me know how you go and if you have any further questions!

Cheers,

John 

Adam Newton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2024

@John McKiernan1 Long time coming, but this was the right answer. Thanks from the future.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events