Release 7.x

Check out what's new with ScriptRunner for Confluence! 

7.13.0

New Update Page Restrictions Scripts

There are two new scripts to help you manage restrictions on parent and child pages. Using the Update Page Restrictions Listener listener, you can automatically add or remove restrictions to entire spaces or pages and manage access for newly created spaces, which is triggered by another event. Similarly, you can use the Update Page Restrictions Job job to automatically add or remove restrictions to entire spaces or pages and manage access for newly created spaces.

Modified Update Page Restriction Built-In Scripts

The Update Page Restrictions Confluence Administration and Update Page Restrictions Space Administration built-in scripts were also renamed. Additionally, the Permission Level field was renamed to Restriction Level. The script functions the same as it did previously. 

New Settings Option

You can now show or hide the Enhanced Search section message.

Bugs Fixed

Key Summary Status
Loading...
Refresh

Documentation Update

Permissions has been added to the documentation to list the different features of ScriptRunner for Confluence and what user permissions are needed to use it.

7.12.0

New Built-In Script Job

Using the new Bulk Delete Attachments job, you can use this job to schedule attachments to be deleted based on selected criteria.

Documentation Update

Java Agents and ScriptRunner has been added to the documentation to help you use Java Agents with ScriptRunner for Confluence. 

7.11.0

Manage Labels

There are two new scripts to help you create, update, and maintain labels. Using the Manage Labels job, you can schedule routine label management. Similiary, you can use the Manage Labels listener to customize label management automation using conditions and target content.

Additionally, the Manage Labels Confluence administration built-in script and Manage Labels space administration built-in script have been updated to give you more flexibility when creating, removing, and renaming labels.

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.10.0

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.9.0

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.8.0

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.7.0

Confluence 8 Compatibility

This release is compatible with Confluence 8 on Java 11. We are still working to provide compatibility on Java 17. You can follow ticket progress here.

Custom Search Fields

The Search Extractors feature has been replaced with Custom Search Fields. You can use custom search fields to add useful indexes to Confluence's search to find content that meets specific criteria. This feature was changed to be compatible with Confluence 8.

Built-in Scripts Renamed

Four scripts were renamed. The two renamed Confluence administration scripts are Copy Pages and Delete Pages. The two renamed Space Administration scripts are Copy Pages and Delete Pages

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.6.0

Confluence 8 Compatibility

We have been working for several months to ensure compatibility with Confluence 8. Pending any unforeseen issues, we expect to be compatible with Confluence 8 on Java 11 in the next release. It is possible that Java 17 compatibility may take longer, but we'll provide updates as needed. You can follow ticket progress here.

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.5.0

Hide the binocular icon

You can now show or hide the Enhanced Search binocular icon.

Package declaration message

In version 7.1.0, we introduced a warning message to the Script Editor to flag invalid/missing package declarations in script files. The message stated these invalid/missing package declarations wouldn't be supported from version 9.0.0 onwards. However, this is no longer the case. We will not do anything that breaks existing usage in future releases. See this page for more information. 

New Features

Key Summary Status
Loading...
Refresh

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.4.0

Bulk Purge Trash Job

You can now use the Bulk Purge Trash job to create a job that runs on a set schedule to purge the trash from all the spaces specified in the job.

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.3.0

ADVANCE NOTICE

Beginning in ScriptRunner for Confluence 8.0.0, existing Custom Search Extractors will no longer function. This is due to the requirement that we must move to the new Extractor2 implementation in order to maintain cross-compatibility with Confluence 7.x.x and Confluence 8.x.x. Existing Search Extractors cannot be automatically migrated and manual intervention by customers will be required. 

We aim to provide feature parity with the new Extractor2 implementation along with documentation describing how to migrate your existing extractors. Our goal is to have the new Extractor2 implementation released in ScriptRunner for Confluence 8.0.0, or in a version shortly after that. 

New switch user functions

Administrators can now switch to a different user from within a page in Confluence or in the User management space. Previously admins could only switch user through the Switch User built-in script

New Features

Key Summary Status
Loading...
Refresh

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.2.0

New user setting that allows you to toggle the minimap on and off

The minimap is visible on the right-hand side of your script. When you write a script, the minimap can be useful for navigating, and understanding, large areas of code. You can now turn the minimap off if you don't find it useful! See the User Editor Settings page for more information.

New Features

Key Summary Status
Loading...
Refresh

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.1.0

New Features

Key Summary Status
Loading...
Refresh

Bugs Fixed

Key Summary Status
Loading...
Refresh

7.0.0

Groovy 3 update

This is the update you've all been waiting for. We have updated ScriptRunner for Confluence to Groovy 3! What comes with this update and how will it benefit you? 

To start, the language parser has been reimplemented in Groovy 3 under the Parrot Parser codename. This new parser brings a number of syntax improvements that could benefit you as a user of ScriptRunner. The Groovy 3 syntax improvements include the following:

In addition, there are a handful of minor general improvements, for example, new GDK methods or the @NullCheck AST transformation.

For a full list of changes, see the release notes for Groovy 3

Breaking changes

There are a number of known breaking changes in Groovy 3. The breaking changes include relocation of some classes to different packages. All the other breaking changes for Groovy 3 are listed in the release notes. There are also some additional minor breaking changes in Groovy 3.0.5. and Groovy 3.0.8.

We don't believe that any of these changes are significant, or that they should affect a large number of ScriptRunner users. However, there is a chance this update may cause some of your scripts to fail. 

If you have any issues, please contact our customer support team here

SrSpecification has been deprecated

In the past, when writing tests, we provided an example to extend com.onresolve.scriptrunner.canned.common.admin.SrSpecification

SrSpecification will be removed in a future release of ScriptRunner, but is still available in the current release. From now on, please use spock.lang.Specification as the base for your tests.

Lock Content macro has been removed

We deprecated the Lock Content macro in release 6.27.0, and gave notice then that the macro would be removed in a future release. That is now happening with the release of 7.0.0.

You can check to see if the Lock Content macro is used on any of your pages by using Enhanced Search and searching for macro = "lock-content-macro". This returns a list of any pages that use the macro.

You can then decide how to handle the removal of the macro from each page. You could, for example, change the page permissions. Or you could move the content to a secured page and use the Include Page macro.

If you have issues related to the removal of the macro, please contact us via our support portal for assistance. If you have a request for functionality similar to the Lock Content macro, please open a new feature request with Support. By creating these requests, we can better understand your use case and help you solve problems.

Jsoup update

We have updated our internal version of Jsoup to 1.15.3 due to a potential vulnerability. The key change is the replacement of org.jsoup.safety.Whitelist with org.jsoup.safety.Safelist. Please find more information at https://jsoup.org/news/release-1.15.1.

New Features

Key Summary Status
Loading...
Refresh

Bugs Fixed

Key Summary Status
Loading...
Refresh

On this page