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

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

0 vote

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

147 views 1 17
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