Forums

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

How can I create an automation running every 5 years?

Jurgen Gaeremyn
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!
October 7, 2021

Hi,

I'd like to have a Jira automation running once every 5 years. So setting up a scheduled trigger, I can do a crontab style request.

Following this page: https://support.atlassian.com/jira-software-cloud/docs/construct-cron-expressions-for-a-filter-subscription/

This is where I tend to end up:

0 30 8 ? JAN MON#1 2020/5

I would like to be sure that this will work.

 

2 answers

1 accepted

0 votes
Answer accepted
Clark Everson
Community Champion
October 7, 2021

Hi @Jurgen Gaeremyn 

Welcome to the community!

CRON expressions definitely work I have tested them a lot. Looking at your expression yes that will work!

You can verify them on a site like this: https://crontab.cronhub.io/

Hope this helps!

Clark

0 votes
Darryl Lee
Community Champion
October 7, 2021

5 years! You are optimistic about Atlassian products. ;-}

Jurgen Gaeremyn
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!
October 9, 2021

well... if not of Atlassian, then at least of the portability of it...

Darryl Lee
Community Champion
October 9, 2021

I'm confident that data will be portable. Less so about automations. But at least the rules can be exported (as JSON).

Whether any other platform would know what to do with that JSON is... doubtful.

That said, the JSON is actually human-readable, so it would at least give you a starting point if you had to recreate automations with some other tool:

https://support.atlassian.com/jira-software-cloud/docs/import-and-export-automation-rules/

Suggest an answer

Log in or Sign up to answer