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

Hi,

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

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

3,310 views 14 20
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