How can I force reloading groovy script classes in Groovy Script Runner plugin?

I am using Groovy Script Runner Plugin to execute a CannedScript located in


It correctly appears in the "Built-in Scripts" menu, and runs, but when I change the source code for the scrit and the contained groovy class, the changes are not visible in Jira when I run the script.

1 answer

What version of the plugin are you using? Class reloading required a small change to groovy itself. In certain versions of my plugin I inadvertently shipped the vanilla groovy runtime.

If you open the plugin jar with winrar or similar, in meta-inf/lib (I think) you should see a groovy-all-1.8.5-scriptrunner.jar. If it doesn't have that classifier, then reloading is likely not to work. There is another workaround IIRC but get back to me on those points above.

I have version 2.0.9

Did you have a look at

it could be useful for the reloading issue

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,748 views 18 21
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