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:
<jira>/atlassian-jira/WEB-INF/classes/com/onresolve/jira/groovy/
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.
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://...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.