Jira For Automation - How to write a cron that spans months

Lee Cash
Contributor
February 4, 2025

I'm writing an automation that triggers each weekday at a specific time (so far so normal) but it's for a timespan that starts near the end of one month but runs into the beginning of the next. 

So, "run this scheduled automation at 5 p.m. PST from Feb 24 - Mar 19."

Can I "double up" crons in Jira for Automation and have one for the February part and another for the March part? 

Help? 

:) 

 

 

2 answers

0 votes
Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 4, 2025

Hello  Lee.

Welcome to Community :) 

You can either use the scheduled trigger as per above screenshot( which will take care of start and end date) or you will have to make two different rules and user the scheduled trigger if wish to use cron expression 

0 1 24-29 2 *

0 1 1-19 3 *

Thank You,

Prachi

0 votes
Vishal Biyani
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.
February 4, 2025

@Lee Cash 

in Scheduled trigger, 

You can specify start Date and End date, and occurrence. Does that not work for you?

snip.png

 

Suggest an answer

Log in or Sign up to answer