You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi Adaptavist,
Could you please give some insight on why custom listener class is not working anymore?
Listener is from your example:
import com.atlassian.jira.event.issue.AbstractIssueEventListener
import com.atlassian.jira.event.issue.IssueEvent
import org.apache.log4j.Category
class ExampleListener extends AbstractIssueEventListener {
Category log = Category.getInstance(ExampleListener.class)
@Override
void workflowEvent(IssueEvent event) {
log.debug "Event: ${event.getEventTypeId()} fired for ${event.issue} and caught by ExampleListener"
}
}
But I get this error regardless:
2020-07-22 09:53:15,246-0400 http-nio-8080-exec-4 ERROR viktor.kuzmychov 593x162893x1 b1q2qw 10.34.211.142,10.36.79.31 /secure/AjaxIssueAction.jspa [c.o.scriptrunner.runner.AbstractScriptListener] Script function failed on event: com.atlassian.jira.event.issue.IssueEvent, file: null groovy.lang.MissingMethodException: No signature of method: ExampleListener.main() is applicable for argument types: ([Ljava.lang.String;) values: [[]] Possible solutions: wait(), wait(long), find(), any(), wait(long, int), init(java.util.Map)
I have 6.1.0-p5 Scriptrunner on Jira v8.5.3
Thank you.
This is a known bug described here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.