custom listener not working on workflow transition


I have written a custom listener which is working on Edit/View screen

but when I update fields from workflow transition screen it does not work at all.

Nothing found in logs

any Idea what could be the missing thing here?



3 answers

Workflow transitions trigger a Generic Event by default (you can make them trigger other events, add your own custom events, etc.).


Register your script listener in the JIRA script listener configuration to listen for the Generic Event.


Update your script to also listen for the event to handle it.


void issueGenericEvent(IssueEvent event){


Hope this helps!

Thanks Andrew 

Below thing worked out for me


void workflowEvent(IssueEvent event){
Events: Issue Created,Issue Updated,Generic Event

each for running listener script on 

1.issue creation
2.issue updation
3.workflow screen field/ transition

Glad it worked out - accept the answer if it solved everything so users don't see it as unresolved.

What events have you registered it for when configuring it in JIRA? What events are you catching in you code?

it is for issue updated event




Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

447 views 8 26
Read article

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