Hi everyone,
When adding a custom script in ScriptRunner for a given project and selecting "Issue Resloved" or "Issue Closed" event, the listener doesn't execute and shows "has not run yet"! Seems like the above events either dont' fire or are obfiscated by other events???
What am i missing? I am just trying very simple stuff to debug this like making the script as inline and just printing to log.debug.
I tried issue commented event for the same project and it worked. I tried different projects and still Issue Resloved + Issue closed dont' fire.
Thanks in advance for any help here coz i am miffed as to why.
Are you sure your workflow step has a "Fire event"?
Go to your workflow step and verify that the events are actually being fired.
Thanks for the help Joshua Yamdogo [Adaptavist]. :)
I have also found the answser here: https://community.atlassian.com/t5/Jira-Core-questions/Script-Runner-custom-listener-script-won-t-run-on-Issue-Closed/qaq-p/413478
Unfortunately, searching for answers on community.atlassian.com is not easy. Their suggestions are not that helpful.
Thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear it is working! Thanks for using ScriptRunner!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.