Release 6.0.x
6.0.2
Bugs fixed
SRJIRA-4325 - Script Field - Configure screen link is broken
SRJIRA-4318 - Unable to create ticket issue upgrading to 6.0.1 due to missing script field config
6.0.1
Bugs fixed
SRPLAT-1119 - Classes in scriptrunner-api/spi no longer consumable by dependent plugins
SRJIRA-4297 - Built in script Script registry - java.lang.NullPointerException
SRJIRA-4295 - Exceptions during issue creation, indexing due to failed script fields upgrade
6.0.0
Groovy Upgrade
The version of Groovy used by ScriptRunner has been upgraded from 2.4.15 to 2.5.11. Improvements and new features (like additional AST transformations, or the new tap()
method) shipped in Groovy 2.5 are now available to ScriptRunner users. See the Groovy 2.5 Release Notes for more information.
As with any dependency upgrade, breaking changes could potentially affect users' scripts. However, the breaking changes between Groovy 2.4 and 2.5 are relatively minor. The low-level nature of most of these breaking changes means they are unlikely to impact many ScriptRunner scripts if any.
Take a look at the list of breaking changes in the Groovy 2.5 Release Notes for further details.
IntelliJ Removal
This version removes all support for the IntelliJ IDEA plugin. See our previous deprecation announcement for our rationale and plans for the future.
Hidden Fields Removal
Hidden Fields custom fields, which were deprecated in version 5.6.14, have now been removed. Even though all the hidden fields configuration and data will still exist in the database, it is recommended that users change the custom field type of all hidden fields before updating to this version. To change the custom field type, follow the Atlassian guidelines.
If changing custom field type via the database, use the following type keys:
com.onresolve.jira.groovy.groovyrunner:hideable-textfield com.onresolve.jira.groovy.groovyrunner:hideable-textarea
and custom field searcher:
com.onresolve.jira.groovy.groovyrunner:hideable-textsearcher
Use of Natural Searchers in Script Fields
Previously many users may have used the Natural Searchers for Jira plugin. Use of these searchers on script fields allows the use of gadgets such as Two Dimensional Filter Statistics and Heatmap, for these fields.
This release of ScriptRunner includes searchers similar to those provided by the Natural Searchers for Jira plugin. On installation of this version, ScriptRunner converts any usage of searchers in script fields from the plugin versions, to ScriptRunner-native versions.
If you are only using this plugin for script fields natural searchers, you can uninstall the Natural Searchers for Jira plugin. To check your usage of the Natural Searchers for Jira plugin navigate to Admin → Natural Searchers.
Please see the warning message on usage.
New features
SRJIRA-2335 - ScriptRunner now provides stat-able/natural searchers
Bugs fixed
SRPLAT-1092 - There is now DocLink support for absolute URLs
SRPLAT-1084 - The autocompletion window of the Script Console now closes correctly
SRPLAT-1041 - ScriptRegistry performance has been improved
SRJIRA-4075 - The Custom Email post function now saves multiple values selected in To Issue Fields and CC Issue Fields
SRJIRA-3080 - The binding variable 'originalIssue' is no longer incorrectly displayed for Custom Script post functions