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

3 votes

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 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 ...

3,026 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