I am creating several listeners within my instance which some would benefit from having a shared library of utility functions that I can use in different listeners to avoid code repetition (DRY).
I know that I could create a single script and do what's needed based on the event type, but it will be a big script and I want to keep it simple (KISS).
Is there a way of writing reusable code in the scriptrunner scripts? I know I can define shared constant values, but I am not sure about functions