Script runner escalation service scheduler

Hi,

I use escalation service in script runner plugin, job executes correctly when I run it manually, but somehow it doesn't run on schedule (daily). Did someone know what could be problem? Did I have to define a service or something in Jira, so that escalation service would run.

 

Andris.

5 answers

Does it skip days, or do you think it never runs?

Hi Jamie,

I'm having the same problem. Escalation performs as expected when run manually but never runs. Interval is 1 day. I.e. 1440

hi, what version of jira and the plugin is this?

JIRA 6.3.6 and Script Runner 3.0.6

There were major changes to the scheduling mechanism in version 4 - can you try that? Warning: version 4 is commercial.

Hey Jamie,

 

I am running into the same problem. The Escalation Service runs fine manually, but neither the cron nor interval execute. Running script runner 5.1.6 on Service Desk 3.0.10.

looks like it hangs somehow. After jira restart it works again for some time...

Hi Andris,
Hi Ralfe,

Have you tried to do it with a CRON expression? From my side it worked fine with CRON:

0 0 1 ? * 7 * = every Saturday at 1am

If you want to have it on a daily basis at 1am it would look like:

0 0 1 * * * *

Note:

tag 1: seconds (JIRA speciality)
tag 2: minutes
tag 3: hours
tag 4: day
tag 5: month
tag 6: weekday
tag 7: year
separator: blank

I've updated the latest version 4.x of Script Runner that supports JIRA 6.x. I also tried CRON expressions but still no luck having the escalation fire automatically

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,476 views 15 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you