The rule is designed to execute every minute to check if a ticket was created 1440 minutes (exactly 24 hours) ago, but not beyond 1441 minutes. However, there have been irregular time gaps in its execution, indicating it’s not functioning as intended. What could be the potential cause for this inconsistency?
@In Heo It is an implementation detail, but in the background "pending executions" will be put to a global queue (of work-to-be-done), and a pool of workers is working on them.
In this case, your scheduled execution will be put the queue, but it is impossible to tell how many other executions are also waiting in the queue. All in all, the latency of actually starting your scheduled execution is impossible to estimate. It will vary depending on the load.
Simply, you should not rely on the precise start time. There is no guarantee for that. You have to accept the random latency.
Hi @In Heo
Is your automation rule running for more than one minute? A scheduled rule can only run once at a time. So if the run time is more than one minute, the next executions of the same rule may be postponed or even skipped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for your input. I’ve considered the scenario you mentioned, but it seems the execution time consistently takes less than 1 second.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@In Heo If I recall correctly, the minimum scheduling interval used to be 5 minutes. While I know that this is no longer the case, I can imagine that, from a technical standpoint, there might still be some limit in place to prevent excessive system load. It may be worth asking Atlassian Support regarding this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@In Heo I would give it a try, at least. I assume that longer intervals lead to greater consistency due to potential technical limitations in the background.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.