Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Only auto-assign issues during office hours


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 Dec 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 :)

You rock.  This works perfectly, thank you!

Like Dirk Ronsmans likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,845 views 2 7
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