Script to downgrade from Scriptrunner 5.3.0

Downgrade Scriptrunner script from does not work!


I manage to add two missing imports:

import com.onresolve.scriptrunner.canned.jira.admin.EscalationService 
import com.atlassian.jira.util.json.JSONObject


But error that I am getting now is:


groovy.lang.MissingPropertyException: No such property: ListenerManager for class: Script40 at


Please provide quick answer because JSD portal is not working because of recent 5.3.0 version.


1 answer

Sorry to hear your having problems with this. Please include these imports at the top of the downgrade script and it will resolve that issue.

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.util.json.JSONObject
import com.onresolve.scriptrunner.canned.jira.admin.EscalationService
import com.onresolve.scriptrunner.canned.jira.utils.ConditionUtils
import com.onresolve.scriptrunner.runner.ListenerManager
import com.onresolve.scriptrunner.runner.ListenerManagerImpl

We've just updated the script in the release notes now to reflect that.

Thank you for quick response.

Now I am getting:

com.atlassian.jira.workflow.WorkflowException: Workflow 'jira' could not be overwritten! at com.atlassian.jira.workflow.OSWorkflowManager.overwriteActiveWorkflow( at com.atlassian.jira.workflow.WorkflowManager$overwriteActiveWorkflow$ Source) at Script48$_run_closure5.doCall(Script48.groovy:102) at


Jira default workflow is read only but I do not know did your script proceeded on other workflows.


Do I need still to run this script even if I did not do any maunal configuration chagens after installing 5.3.0?

Is maybe 5.3.1 release planned today?


For workflows if you did not edit any of the conditions, validators or post-function then you won't need to downgrade them.

The reason for running this script is that the schema for the conditions and additional issue actions fields was changed in this release.

Can you confirm if the conditions and additional actions look ok when you edit some of the existing items in your workflow?

We'll be release 5.3.1 shortly but don't have an ETA at the moment.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


117 views 0 3
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