Script Runner: Want to install more canned scripts, cannot locate directory.

We have created some nice groovy scripts that use the canned interface that Jamie Echlin so nicely provided.

However, our install path for those scripts which should be:


Does not exist on our server. When I go to see where my currently installed scripts are executing from they are executing from:

Loaded from: bundle://146.0:1/com/onresolve/jira/groovy/canned/admin/ConditionTester.groovy

I cannot locate this bundle location either. I am sure that this is some sort of change with the latest upgrade of JIRA (6.0.6).

We've found scriptrunner to be useful in the past, and the only thing that will make it more useful is installing our own scripts... if we can figure out where to put them.

So ultimately: advice on where we can put canned scripts for Script Runner (groovy-runner) under JIRA 6.0.6 and have them picked up by the plugin would be greatly appreciated.

I am spending my single Karma on this question.

1 answer

1 accepted

You should just create the directory that you've spotted is not there currently. It should exist up to the "onresolve" bit anyway.

The bundle:// url is the designation given to resources in OSGi plugins. When you create the directory you mention and put stuff there, the "loaded from" url will be file://...

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,495 views 15 20
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