Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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)

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, /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.

2 answers

1 accepted

1 vote
Answer accepted

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events