Is it possible to sent email notification to a recipient based on time of the day.

Rajesh Konda May 26, 2021

Hi Team,

 

I have a requirement to send email notification based on time to different users.

Ex So from 9 am to 5 pm it goes to recipient X and then after 5 pm till 2 midnight it goes to recipient Y. Can we achieve this with Jira Automation? tried with Advanced compare condition but unable to achieve my requirement please can any one suggest. Thanks

1 answer

1 accepted

2 votes
Answer accepted
Ioana
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2021

Hi Rajesh,

You could try the following:

  • If
    • matches Advanced compare condition:
      • First value: {{now.shortTime}}
      • Condition: greater than
      • Second value: 09:00
    • AND
    • matches Advanced compare condition:
      • First value: {{now.shortTime}}
      • Condition: less than
      • Second value: 17:00
    • Send email to Recipient 1
  • Else
    • Send email to Recipient 2

rule.PNG

Regards,

Ioana

Rajesh Konda May 27, 2021

Hi @Ioana  Fab it worked for me Thanks you so much for your help -:).

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events