Custom event missing from Events

I have several custom events - one of which does not show up in the Events field when adding a Script Listener. Any idea why it would work fine for some of the custom events but not others? Any debugging or logging I can enable to find out what is causing it?

The event shows under Workflows and is being used there, just not visible when trying to add a Script Listener to send an email when it fires.

1 answer

1 accepted

1 vote
Jenna Davis Community Champion Jan 12, 2018

Hello Henning, 

There is currently a bug in ScriptRunner that might be causing the problem you're seeing. You can check out the bug report here if interested. 

The current workaround is to restart your JIRA instance, it should cause the event that isn't showing up to appear. If you still cannot see this event after restarting, could you let me know what version of SR and JIRA you're using?


Thanks Jenna,

Getting the Jira server rebooted will be painful as we have hundreds of people using the server around the globe. Is there any other way to get this resolved that will not require downtime?


Jenna Davis Community Champion Jan 12, 2018

Unfortunately we don't know of another workaround for this issue currently. What are your SR and JIRA versions? 

Jira 7.4.2 Build 74004. SR 5.1.6

The good news is it seems our server did get rebooted after I logged the initial question and my event does now show up! So I can confirm that the workaround works.

Great! If you have this issue again I would suggest logging a request to the product support website. We'll be able to help you out faster and more securely there. :)

Hi Henning,

Just to clarify, this is not something that has a workaround as it's currently due to the way we cache the events for performance reasons.

We also can't programtically clear the cache otherwise we would have given you a script for that as a workaround.

As Jenna mentioned we'll look at fixing it in SRJIRA-2414 but until then all you do is unfortunately restart.

Hope this helps.


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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