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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

699 views 12 20
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