Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira notifications only during certain hours

Leigh Bartlett November 26, 2019

Is it possible to only send Jira ticket notifications during certain hours, or pause these during certain hours?

We've got an out of hours team who need to receive these emails, but we don't want them to be flooded with them during the day when these aren't relevant to them. 

1 answer

0 votes
Olga Videc
Community Champion
November 26, 2019

Hello @Leigh Bartlett 

Unfortionaly this is not possible by default.

I had the same issue, the solution is tricky.

You create automation rules ad there you would define when you want to be notified and you would add a condition JQL that matches are those working hours or not.

For example Mon-Fri work hours 8-22, I have one day more beacuse my server has sunday set as first day of the week.

 (created >= startOfDay("8h") and created <= startOfDay("22h") ) and created >=startOfWeek(1d) and created <=startOfWeek(6d)

BR, Olga

monas November 26, 2019

Hi Olga,

I have tried this condition under Automation to assign an agent based on the working hours but it doesn't seem to work for me.

(created >= startOfDay("7h") and created <= startOfDay("21h") ) and created >=startOfWeek(1d) and created <=startOfWeek(5d)

Can you suggest some solution for it?

Olga Videc
Community Champion
November 26, 2019

Hello @monas 

have you tried running this JQL in issue search advanced? To see if any issues match your search

Can you send a screenshot of your automation? Blur any sensitive data.

BR, Olga

monas November 26, 2019

This is the automation rule which I have configured. PFA the screenshot.Screenshot 2019-11-26 at 6.25.28 PM.pngPlease let me know what I'm doing wrong here and how I can make it work on Jira service desk. Thanks!

Olga Videc
Community Champion
November 26, 2019

Hello @monas

I don't own cloud, but rule looks good, automation rule should have logs or history.

To check the status of your rules:

  1. From your service desk project, select Project settings () > Automation.

  2. Hover over the rule you want to check upon.

  3. Select ••• > View log

Leigh Bartlett November 26, 2019

image.pngDoes this look right to notify the user of an issue raised after 5pm, and before 9am?

Olga Videc
Community Champion
November 26, 2019

Hello @Leigh Bartlett 

This should do it 

created > startOfDay("17h") or (created >= startOfDay() and created < startOfDay("9h"))

BR, Olga

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events