Forums

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

ScriptRunner for Jira Cloud: Scheduled Job Every Other Week

Jeffrey Bistrong
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 Champions.
June 17, 2026

I am trying to figure out how to accomplish this in script runner for jira cloud, but we have a scheduled job that we need to run every other wednesday. 

I don't see a way to accomplish this natively in script runner.

 

Monosnap Product Home 2026-06-15 08-55-32.png

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Germán Morales _ Hiera
Atlassian Partner
June 19, 2026

Hi @Jeffrey Bistrong , correct, there is no biweekly option. The Cloud scheduler only offers weekly days or day-of-month, no cron, so a true 14-day cadence can't be set in the dialog. You add it in the script instead:

  • Leave the schedule as it is, every Wednesday.
  • At the top of the Code to Run, work out the current week and run your real logic only on alternate weeks, returning early otherwise. Anchor it to a Wednesday you know should fire so it lands on the weeks you want.

One thing not to do: don't base the alternation on the plain week-of-year number, because 53-week years make it stutter for two weeks across New Year. Counting whole days since a fixed anchor date and running when that count divides evenly by 14 is the version that never drifts.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events