/
Scheduled Notifications behavior

Scheduled Notifications behavior

This page is intended to explain how scheduled emails work in Notification Assistant for Jira Cloud (NAFJC).

To run the system in a cost effective manner, we check for scheduled emails to be sent once every 5 minutes. If at the time of the check, any Notifications have a Trigger within the next 5 minutes, we process that Notification.

Why does this matter?

There are two common scenarios where this matters.

The first is that you have some kind of automated Jira issue creation or happening at a specific time, let’s say 1:40. And you have NAFJC to send notifications every 5 minutes. Well this means that the notification can run at any time between 1:35-1:40, and again anytime between 1:40-1:45. Now assume you use a JQL filter along the lines of updated > -2m What this means in practice is that you may get an email at 1:38 which doesn’t contain the automatically created issues, and then another at 1:43 which also doesn’t contain any issues. As such, if you use any JQL to define contents, you need to take this into account.

The second scenario is when you are first setting up your notifications and are trying to test that a schedule works as expected. For example, if it is 15:38, and you set the schedule to run at 15:40, the scheduler might have already ran at 15:36, decided no schedule needed to be ran, and when it runs again at 15:41, it’s not executed either since it assumes the previous run will have taken care of it.

Related pages