ScriptRunner Escalation Service not running (but working when previewed)

I have configured an Escalation Service with Script Runner, but the service is not executed in backgroup. In configuration, if I click on the "Run Now" button it works well, so configuration is fine, but when I save, it's not executed anymore. I found nothing in the logs.

The JQL query I'm using has another addon function ( issue in rejectedForApprovalStatus() ), but I've tried also with a simpler query and it's not working either.

I'm using JIRA 6.1.7 and Script Runner 2.1.16.

I've found another question for the same topic ( https://answers.atlassian.com/questions/9866899/script-runner-escalation-service-only-works-when-previewed ) but much older.

I've noticed that in the JIRA services page, for the com.onresolve.jira.groovy.canned.admin.EscalationService:job service, the "Properties" column is empty, while in another installation it has:


com.onresolve.jira.groovy.canned.admin.EscalationService:job
com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService
  • pluginJobName: com.onresolve.jira.groovy.canned.admin.EscalationService:job
  • repeatInterval: 60000
  • initiallyFired: true

Can it cause the problem?

Any help would be very appreciated.

Thanks

 

 

 

1 answer

Hi David,

Could you change the interval to 1 ( 1 mins) and enable debug log for more details ?

May be you have Edit the services and update it thats why you are seeing Property field as blank.

Go to Manage Addon --> Disable script runner and Enable it again. It should bring back your properties fields and it may fix your issue as well. 

Taha

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

197 views 2 11
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