automation - if ALL three fields have values then...

Laura Hanna March 13, 2024

I am looking for a trigger that if ALL the three fields have a value in it then do something.

I am thinking this would work, but still dont know if this would trigger on just any or one of these changes...

What I am hoping is that if fields are empty and change to a value then I will do something else...

field change trigger.jpg

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 13, 2024

Hello @Laura Hanna 

Triggers in automation rules are based on some sort of change occurring; a field value changing, and issue being created, a link being made, a status being changed, etc. Or the rule can be Scheduled to run at an interval. The trigger itself cannot be based on if a field "has" a value.

Conditions are used after the trigger to confirm that the issue meets the requirements to continue processing.

In the image you provided, the rule would be triggered if the field value changed for any one or more of the three fields you have specified.

If you then wanted the rule to proceed only if all three fields contained values, you would add Conditions after the trigger to check that each field has a value.

If that doesn't address your question, can you then please provide more detailed information about your scenario?

Laura Hanna March 13, 2024

I can do a "Issue Field Change" field contains on two out of the three. But it does not have due date... :(

field change trigger 2.jpg

And I am wondering how I would prevent this from triggering again.. As then the ticket will then always have a value... So, I was hoping that I can have a check that...

IT was EMPTY and now has a value...

 

 

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 13, 2024

Hello Laura,

You have tagged your post to indicate you are using Jira Cloud, but the image you shared look like the Automation Rules interface for Jira Server/Data Center. Can you confirm us which one you are actually using? Jira Server/Data Center will show application version information at the bottom of many screens, like the Dashboard screens and in the Help > About Jira pop up.

 

I had a typo in my initial response where I said:

"The trigger itself can be based ..."

That should've been:

"The trigger itself cannot be based ..."

 

Can you clarify this statement? It doesn't seem to match the image you provided.

I can do a "Issue Field Change" field contains on two out of the three. But it does not have due date... :(

Which component in the rule are you referring to a "Issue Field Change"?

 

I am a bit confused about your use case. Can you explain it in more detail, perhaps providing some examples of different events that can occur where you would want the rule to run and when you would not want the rule to run?

Laura Hanna March 13, 2024

I figured it out...

I did a compare of the two values for due date.

field change trigger 3.jpg

Suggest an answer

Log in or Sign up to answer