You have to put the file within the atlassian-jira/WEB-INF/classes/ directory of the jira installation directory, the package must match.
E.g. if your package is "bastien.listener" you have to put the groovy file to atlassian-jira/WEB-INF/classes/bastien/listener/
Maybe you can define a different directory as describe here: https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner#ScriptRunner-Conditions%2CValidators%2CPostFunctions
But I didn't tried this until now.
I think i can't resolve my problem :
I want my script executed AFTER the issue passed in the new status. Because another script is executed (somewhere else) and tests the status of this issue, and it must be in the new status.
The script in the post-function is executed before the new status ... and I don't know how to do .
We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...
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