Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I ensure an Automation rule only runs once for an issue?

I want to ensure we only run a particular rule one time against an issue. How can you do this with Automation for Jira?

1 answer

1 accepted

1 vote
Answer accepted

So there's a few different ways this can be done. A visible way would be to edit the issue and add a label, then check for the presence of this label with a JQL condition.

Another way that's invisible to users is to use entity properties. Your rule would look like this:

  • Trigger: Any trigger
  • Compare condition:
    • First value: {{}}
    • Equals:
    • Empty (leave field blank
  • Action: Do something like editing the issue
  • Action: Set entity property 'ruleexecuted' = true


It looks like this in practice:



The actions in this rule will now only execute once for a given issue.  After that, the compare condition will fail since the issue property has a value.

@andreas what happens when needed to run another rule once, but the {{}} = true because it was edited by another rule.


The {{}} is for every particular rule or for all rules? i.e. an issue can only have one value or it can have several values for every rule?

This is because i have this compare condition en Epics but is telling me on the audit log that the issuesdid not match the condition: i.e. is nos Empty.



Like Jean Francois Gelinas likes this

That doesnt work since you cant execute another rule for that issue.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

413 views 2 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you