Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Only auto-assign issues during office hours

Mark Haller December 17, 2020

I've set up a trigger when new Critical priority tickets are created in any project, that a #critical slack channel receives a notification, and the ticket is auto-assigned to a person in the "tech lead" role - great.

However, I only want the auto-assigning to work during office hours.

How would I do this, please?  I'm using JIRA Server.

1 answer

1 accepted

1 vote
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 18, 2020

hi @Mark Haller ,

It's a tricky one cause JIRA doesn't have the notion of business hours (outside of SLA).

A workaround I've used in the past is to adapt your Automation rule (I assume you are using the codebarrel automation?) and to add an IF statement.

In the IF statement you can set it so that it only triggers if the issue falls within a business hours JQL.

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

(if you work between 8am and 5pm)

For me that has been a workaround :)

Mark Haller December 19, 2020

You rock.  This works perfectly, thank you!

Like Dirk Ronsmans likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events