Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Switch automation on/off based on time?

chris_narita
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!
January 17, 2021

I'm part of an international team that covers JIRA tickets in shifts. I have automation that sends me an email whenever a ticket is created.

This is great while I'm working, I can see new tickets as they come in, but it also means I'm seeing all the tickets that come in while I'm off (which my coworkers will handle).

Is there a way to set up automation that says something along the lines of, IF it's between 9am and 5pm, send a mail for each new ticket created.

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
1 vote
Answer accepted
Hana Kučerová
Community Champion
January 18, 2021

Hi @chris_narita ,

welcome to the Atlassian Community!

What about to add JQL condition to your rule? Something like:

created >= startOfDay(8h) AND created <= startOfDay(17h) 

jql.png

chris_narita
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!
January 19, 2021

This worked! Thank you @Hana Kučerová 

Like Rich Wolverton likes this
TAGS
AUG Leaders

Atlassian Community Events