I know this question is quite childish, but we have been searching over net for getting this done but didn't get any appropriate solution and we are still stuck on adding Custom Listener as external file into Jira
Steps we did, created a Groovy class and pasted it in ../WEB-INF/classes/PACKAGEPATH
Also, we tried compiling this groovy class and pasted it on above location
Server was restarted after both the above steps, still have no effect
Can anyone please help us out in our first step
Thanks in advance for your support
Thanks Henning for the answer, adding a script listener and the package path is the second step, but before that we have to add the groovy file, right? We are stuck on deployment of the groovy file on proper location which will be loaded in JVM that could be used as Script Listener using the full class path.
What is the location for deployment of this groovy file or groovy's class file?
No. Are you sure about the writing of your package and class names? It's case sensitive. After adding the script listener you should take a look into the log, to see if there are any error messages while the script runner tries to load the listener class.
After adding the groovy file on that location, I am getting ClassNotFoundException for GroovyObject, check below
Referer URL: http://localhost:2990/jira/secure/admin/groovy/CannedScriptListener.jspa?cannedScript=com.onresolve.jira.groovy.canned.workflow.listeners.CustomListener&atl_token=BMT7-7PUT-AYWX-I98G|1f48e45d5de7e253a474d71331955bdae3adca9f|lin
Can you help me understand the reason behind this? and solution we can overcome this?
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG