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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Jira automation: Cron condition every 2 weeks

Hi, I'm creating a Jira Automation rule and I want it to be launched on each Monday alternatively, in other words the first day of a 2 weeks timeframe.


I've checked the CRON documentation but cannot find the solution:


1 answer

1 vote
Ismael Jimoh Community Leader Jan 26, 2021

Hi @Sergio Montávez 

I believe the standard cron doesn’t provide such a feature and you may need to look at a more complex expression which Jiramay still not support.

Have a look at this article: where the author shows running a cron expression every other Monday. Note still that this depends on if Jira supports expressions in your cron job.

If anyone is more familiar, I hope you can help here.

Thanks for the answer, unfortunately, some of those expressions are not supported by Jira according to their documentation:


This post seems to be old, but still wanted to share if it helps someone else.

I have similar case for a rule that should run every 3 weeks on Mondays 9am. So I ended up creating a cron job that runs every Monday at 9am, however I tried to use a condition that will result true every 3 weeks from the base date you give. For example my base date is 2022-11-14 which is again Monday I've used below expression:

{{#=}} {{now.diff(now.withYear(2022).withMonth(11).withDayOfMonth(14)).abs.days}} % 21 {{/}}

Above value would return zero for every 21 days (3 weeks) starting from the base date and you can let the rule do whatever action it needed. Tweaking with the numbers you can set any fixed frequency. The expression might be optimized further, but it simply runs.

And also I still don't get it why A4J for DC still does have a cloud-like fixed schedule feature, makes life easier for Jira admins ;)

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events