corn expression

vinod vaddi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2020

Hello, 

I am trying to create a JIRA issue every  month on day 5th , 15th and 20th on the scheduler. However it says " Incorrect cron expression!".

2 answers

1 vote
Łukasz Modzelewski _Lumo_
Atlassian Partner
September 24, 2020

If you use advanced cron expressions you can just list days on which it should fire, separated with commas: 0 0 0 5,15,20 * ? *

Example from our app The Scheduler for Jira Cloud

advanced cron expression.jpg

To generate advanced cron expressions you can use tools available online like this cron generator: Cron expression generator 

Cheers,

Łukasz

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 24, 2020

Hi Vinod - Welcome to the Atlassian Community!

Can you share a screenshot of the cron you have already?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 24, 2020

I don't think you will be able to do all of those dates with a single cron expression. You will need a separate rule for each of the 5th, 15th and 20th. 

0 0 0 5 * ?

0 0 0 15 * ?

0 0 0 20 * ?

Suggest an answer

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

Atlassian Community Events