Forums

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

want to trigger automation according to the specific date condition

Asha Goyal
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.
July 4, 2022

Hello There, 

 

I have a custom field called "Contract End Date". My management wants to get the notification before the contract end based on the below conditions.

 

1. One month before Contract end date
2. Two weeks before Contract  end date
3. Day before Contract end date.
Could you please help me to create an automation rule for this so that I get notifications only for that specific day and not every day?
Thanks in Advance.

1 answer

3 votes
Mohamed Benziane
Community Champion
July 4, 2022

Hi,

You can create a rule using scheduled trigger, and use the Advanced compare condition to check the contract end date and fire the notification.

https://support.atlassian.com/cloud-automation/docs/examples-of-using-smart-values-with-dates/#Comparing-two-dates

Asha Goyal
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.
July 5, 2022

I tried to compare the difference of the days but it only works when the difference is less than 30, but no emails are sent when the difference is equal to 30. plz help

Capture.png

Suggest an answer

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

Atlassian Community Events