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
Highlighted

Getting an after hours email notification for service desk

Hello,

I'm setting up ServiceDesk and I am trying to configure hours and notifications. Here is the problem we have:

We would like to only get email notifications on issues that are created after hours (after 5pm). I'm not seeing this as an option. I see where I can set the notification for a created issue for a group but it doesn't show anywhere that these could only be sent after hours.

 

Any ideas or plugins that would allow this?

Thanks! Danielle

4 comments

Jack Community Leader Feb 04, 2019

There isn’t a way to do this OOTB. You should check the Marketplace for possible add-on. While I have no experience with it I did find one called Smart Notifications that might work for you but unsure.

I had a similar task. I used the Escalator for Jira add-on - https://ctiwi.com/escalator-for-jira/’

Our business logic has changed since then, so we are not needing this anymore, but this add-on was the best solution for that task.

I use an app called Automation For Jira. They provide an incredible tool that expands on the stock automation. You can try it out by using their free version but they do limit the amount of rules you can run a month. 

 

We use this app for several automations but one of them is an out of business hours. We have it running on a cron expression that starts after we close and ends as we open. Any tickets created in that time will have a comment left on them letting the customer know that their request was made out of business hours. 

Free version: https://marketplace.atlassian.com/apps/1215670/automation-lite-for-jira-cloud?hosting=cloud&tab=overview

Paid version: https://marketplace.atlassian.com/apps/1215460/automation-for-jira?hosting=cloud&tab=overview

Like John McKiernan likes this
Jack Community Leader Apr 13, 2019

Yep I use AFJ as well and it is a nice addon for sure.

Hey Cody - can you please tell me how you set up that cron expression on Automation for Jira? I have been trying to do that exact thing.

Hey @Jessie 

I had to create two rules in AFJ to achieve the functionality.

In AFJ you can choose your trigger to be "Scheduled" and then set up a cron expression with JQL for it to run. In my case, I had it running every 5 minutes from 5pm to 7am the following day. 

The first rule was for the 5pm-12am times. the second rule was for the following day 12am-7am. they both did the same function but had different cron expressions. 

 

I am unable to show you the exact rule I made because I am no longer with that company but I made a similar version so you can see what it would look like. 

Here is a link to a site that will help you make the cron expressions. Also, the cron expressions are running off of UTC time so you need to account for that. 

https://www.freeformatter.com/cron-expression-generator-quartz.html

Screen Shot 2019-07-01 at 1.56.19 PM.png

In my case, we wanted to send a notification to a group if an issue came in between 6pm and 6am and it was flagged as critical (a custom field we created)

Using the following worked perfectly

Automation.png

Hope that helps someone - this thread got me on the right path, so wanted to share my solution.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Service Management

Announcing Jira Service Management!

Hello there Cloud Community members! Today, we’re thrilled to announce Jira Service Management, the next generation of Jira Service Desk. Jira Service Management touts advancements in IT service ...

1,465 views 17 33
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