Forums

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

Jira Automation: Run first and third Thursday every month

Sherryl Radbil
Contributor
January 24, 2022

I need to run a Jira Automation on the 1st and 3rd Thursday of every month.

I've found lots posts about running every week, but that is not exactly what is needed. (one example) 

I suppose I could create the automation twice and set one to:

0 1 0 ? * thu#1

and the other to

0 1 0 ? * thu#3

but if there is a way to do this in one automation that would be best.

Any thoughts?

Thanks,

Sherryl

1 answer

0 votes
John Funk
Community Champion
January 24, 2022

Hi Sherryl,

You might try this in the very last slot:

5#1,5#3

Sherryl Radbil
Contributor
January 24, 2022

Thanks for the quick reply, John!
I will try that.

Funny thing though about these crons is unless someone has another idea,the only way I know to test is to wait for the actual time to pass.

I'll set something up to test today and tomorrow with a fabricated job and post here if that indeed worked.

John Funk
Community Champion
January 24, 2022

True - but in this case, you could change the the very end to 5#1,3#4 and it would execute tomorrow for a test.  :-)

BTW, I have not tested this either and have no idea if it will work. It will be interesting to see.  :-)

Sherryl Radbil
Contributor
January 24, 2022

Unfortunately the answer was quick and clear:

image.png

So that answers that. Valiant attempt for sure!

Anyone else have any thoughts.

John Funk
Community Champion
January 24, 2022

Rats  :-(

Sherryl Radbil
Contributor
January 24, 2022

Our client has agreed to every other week, so I'll go with the example solution I linked in my original post to open this conversation.

Thanks again, John, for the responses.

Like John Funk likes this
John Funk
Community Champion
January 25, 2022

You are welcome - best of luck with it!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13.7
TAGS
AUG Leaders

Atlassian Community Events