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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Only auto-assign issues during office hours

Edited

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
TAGS
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,790 views 10 23
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