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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,963 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot