Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I create a conditional rule for a schedule trigger for a recurring task?

Val Gendleman August 15, 2024

Hello! I'm trying to create an automation that creates an annual task. I'd like the automation to run annually on August 14, unless August 14 falls on a weekend. Then I'd like it to run on the Friday before. 

Thanks so much for your help!

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 15, 2024

Hello @Val Gendleman 

Welcome to the Atlassian community.

I think you will have to create multiple rules.

Rule 1

Schedule it to run on Aug. 12. Add a Condition to check if the current day of week is Friday. If it is, then proceed with running the rule because Aug. 14 will be on Sunday.

Rule 2

Schedule it to run on Aug. 13. Add a Condition to check if the current day of week is Friday. If it is, then proceed with running the rule because Aug. 14 will be on Saturday.

Rule 3

Schedule it to run on Aug. 14. Add a Condition to check that the current day of week is NOT Saturday or Sunday. If it is not, then proceed with running the rule because Aug. 14 is a weekday.

Val Gendleman August 15, 2024

Thank you, @Trudy Claspill 

I will give this shot tomorrow morning and let you know. 

Glad to be part of the community and appreciate your help!

Like Trudy Claspill likes this
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 24, 2024

Hello @Val Gendleman 

Had did this work out for you?

If it worked well, please consider clicking on the Accept Answer button to mark your Question as Solved.

If it didn't work out, please let me know and I'll be happy to keep working on the solution with you.

Val Gendleman August 26, 2024

Hello Trudy -- apologies for not clicking! I thought that I already had. 

 

Suggest an answer

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

Upcoming Jira Events