hi Jamie, let me make myself clear(er) : in the JIRA searchbox of our environment, a simple user (only member of 'jira-users'-group) can run this: "issueFunction in hasLinks("is part of") and issuetype in (Story, Bug, Improvement)". I would like to restrict the running of these Scripted JQL Functions to the administrators group (or another group).
I fear for performance issues, when all of our 3500 users run your cool but intensive Scripted JQL Functions. My company does not have budget for a load & stress test. Even though we have more than 50.000 issues. I want to convince them to install the Scrip Runner on our production environment...
Well, some are cool but intensive but most are just cool. Seriously, the most commonly-used ones are not intensive. But yeah I won't say they've never caused a problem, I have just fixed one performance issue (within a few days of it being reported). But, I don't think I will do this, because it requires a massive matrix (as seen in some other jql-functions plugins) of allowed groups, functions and even projects.
Jamie, I don't want to bother you, but you could consider creating a permission-screen, which does NOT contain a matrix, but contains only one permission : "usage of the Scripted JQL Functions". You could link this single permission to users & groups. That would already make your fans happy. I am developing an add-on myself, which cosists of such a screen.
I always aim to please my "fans", or at least appease them ;-) The thing is, I don't think many people would use it. What would happen when a filter is shared with someone outside that group... they just get a "no permission" error? I would much rather work out which if any functions are slow and fix them. Most of them can be further optimised in terms of cpu, memory or IO. I'm not sure I would worry that much though, these functions are happily in use on large instances, at least one with ~ 700k issues, and 12k users.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot