Can Script Functions be disable in v3.0.7 of ScriptRunner?


We are in the midst of upgrading our JIRA instance along with upgrading the very awesome ScriptRunner to version 3.0.7.

In our previous version of scriptRunner (2.1.15) Administrators could selectively disable the build-in Script Functions, however, in the new version I can't find a way to explicitely disable some of these built in script functions.

Anyone know if it's still possible?

2 answers

1 accepted

Accepted Answer
1 vote

You can't atm... that functionality was removed when the GUI was removed. Maybe I can put that functionality back. What do you want to disable?

Thanks for the response Jamie. I liked the idea of making them administratively disable-able since it provides the most flexibility for an admin. In the past I have had to disable two functions (issueFieldExactMatch and issueFieldMatch) because my users found creative regular expressions that could be used bring down our system. I'd have to dig up the exact queries used, by I remember the system ran into memory problems.

Hi Rick. Fair enough. I did fix the performance issues with those two, either last release or next release.

Well that is good news....because users did love the functionality. :) We'll give it a whirl in our upgraded instance and do some testing. BTW, I've just upgraded my custom JQL functions using your guide for moving to 3.0. It was invaluable and I wanted to thank you for putting that together. Cheers. /rt.

Thanks Rick... I really didn't want to break compatibility but had no choice. Thanks for that comment anyway.

0 votes
Boris Berenberg Community Champion Dec 18, 2014

Possibly by disabling plugin modules? Not sure though, just guessing.

Thanks Boris. There does seem to be an option to disable the Scripted JQL Function module, but my guess is that it disables all of the functions, not just a select few which is what I'm trying to achieve. Hopefully @Jamie Echlin [Adaptavist] can chime in.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,904 views 2 7
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