Forums

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

Compare issue created date with specific dates in automation rule

Pramodya Gamaethige
Contributor
August 26, 2021

I need to check whether issue create date is equal to number of specified dates and send email to specific users by creating an automation rule.

 

Appreciate your support 

1 answer

1 vote
Bill Sheboy
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.
August 26, 2021

Hi @Pramodya Gamaethige 

For a question like this, please consider posting an image of your automation rule and the audit log.  That will help the community to offer you ideas.

If you have not started a rule yet, please look at these sources and examples in the template library to help:

Best regards,
Bill

Pramodya Gamaethige
Contributor
August 27, 2021

Hi @Bill Sheboy thanks for your valuable comment. jira date.PNG

in my automation rule, Im trying to compare issue created date and a specific date and the audit log says the condition does not match. 

Bill Sheboy
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.
August 27, 2021

Thanks for that info, @Pramodya Gamaethige 

Have you tried to use the exact same date format for the comparison?  I note you are formatting one date with jiraDate and allowing the other to use whatever the function selects.

And if you want to compare to a specific date, have you tried a specific date as a string value, such as "2021-08-26" and compare to the approach date format?

One more note: when first creating a rule, it can help to split complex condition tests up into individual conditions.  You may more easily see if issues meet/do not meet the conditions in the log.  Once everything is working, bundle them together, as needed.

Like Pramodya Gamaethige likes this
Pramodya Gamaethige
Contributor
August 29, 2021

@Bill Sheboy Thanks for your advices. ill try change it to a string. 

Suggest an answer

Log in or Sign up to answer