The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Where to store groovy scritps to be called by - Builtin Script Listener - Custom listener

Infinera
December 15, 2014

Hi,

I'm using Jira 6.1.7 and Script Runner 2.1.16. we have a groovy script (file attached) that I'm not able to put it working. I go to: Script Runner -> Script Listener -> Custom Listener -> Then add the events and the project.

Then hat I should put on the "Name of groovy class"? Basically I just set the full path in the server of this groovy script. I kindly ask for your help.

 

Thanks in advance

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 15, 2014

Ideally you would upgrade to at least JIRA 6.2, and Script Runner 3, where this is easier.

To old instructions are: It has to go on the class path, ie under WEB-INF/classes. Then provide the full qualified class name, eg com.acme.foo.Listener.