Issue Resloved event doesn't fire with scriptrunner "script listener" Edited

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.

1 answer

1 accepted

1 votes
Joshua Yamdogo Community Champion Nov 17, 2017

Are you sure your workflow step has a "Fire event"?

Screen Shot 2017-11-17 at 4.22.32 PM.pngGo 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 

Joshua Yamdogo Community Champion Nov 20, 2017

Glad to hear it is working! Thanks for using ScriptRunner!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,799 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot