Is there an easy way to disable certain JQL functions within Script Runner? We want to mask the non-performant ones in our environment (dateCompare in particular).
dateCompare was replaced by expression, but both should be reasonably performant depending on what version of the plugin you are using. Which is...?
Someone else asked for this so I created https://jamieechlin.atlassian.net/browse/GRV-591.
Sorry, we're on 2.1.6, which is old but what we're limited to until the next upgrade cycle. We have close to 1 million issues (6.1.7), and it was taking about 200 seconds to run, and consuming a lot of heap memory that required GC'ing. A user may have used it without any type of preliminary filtering in the function. I did find "jql/plugin-jql-functions.json" which seems like it could disable functions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, those functions, in that version, with that many issues will cause problems. In 2.x you can disable them from Admin -> Script JQL functions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.