Script Runner stops working

Hello,

We have Script Runner on our instance of JIRA (6.3.8) and the plug-in works great. But, for some reason the script stops working for people and the only way to resolve it is to disable the plug-in and re-enable it.

I haven't discovered a pattern when this occurs, or how I can validate if the plug-in is working before one of my customers call me saying their filter isn't working.

I didn't see this issue with an older version of JIRA. So I am wondering if other people are experiencing it.

The version I am running now is 3.0.7

Thanks in advance!

-Alan

 

Alan Stephenson

alan.stephenson@disney.com

3 answers

Hi Alan, When you say the add-on is not working, do you mean that none of the scripts is working? Could you please share which areas of the add-on is that instance using? Post-functions, listeners, JQL functions, ...

Hi Alejo

the script macro is working fine at this moment. What happens is the entire macro plugin stops working with no warning. A function is being used in a filter and when the filter is called it will so am error. Like it can't locate the function being called. I disable the add on and re-enable it. Filter starts to work again.

-Alan 

could you please post the function used in that filter?

Hi

I just checked and it looks like it is part of the base package. The filter includes something like this:

 

issueFunction in subtasksOf

Not sure if that helps or not. 

-alan

Hi Alan, that definitely helps to understand the problem. Could you please try running that query manually and see if the plugin keeps working fine after its completion? It would be nice if you could also search for errors/exceptions related to Script Runner in the Jira logs.

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...

358 views 0 6
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