Getting Started

Features

Configuration

Introduction

The Built-in scripts feature is a selection of useful automations designed to automate time-consuming tasks and give you the ability to better control your Confluence content.

Built-in scripts can only be used by Confluence admins and by space admins.

Note - To find out more about assigning space admin permissions, take a look at Atlassian’s documentation.

There are slight differences differences between in this feature dependent on admin status.

Please take note the following:

  • Space admins are only able to make changes on the spaces that they are admins of

  • Confluence admins are able to make changes globally with any of the built-in scripts

  • Built-in scripts is named advanced space functionality for space admins

  • Navigation is different to built-in scripts and advanced space functionality, please see below.

  • By default all space admins can access all features in the Advanced Space Functionality menu, to restrict permissions take a look at our permissions documentation here.

Table View

Bulk Add/Remove Labels on One or More Pages

Feature Description

This feature gives you the ability to add or remove labels on selected pages within a space.

You can select all pages within a page tree, that is a page and all of its children, that is a page and all of its children, select individual pages within a space or a combination of both.

How to run it

  • Select the space

  • Select the parent or children pages you want to update

  • Specify whether to add or remove the labels

  • Specify the label or labels to be added/removed

Note: If you’re updating multiple labels you must separate them with a comma.

  • Select Run

Table View

Bulk Delete Attachments

Feature Description

This feature allows you to delete all attachments associated with a page or pages.

Note - this feature will delete the attachment on all versions of the page or pages.

How to run it

  • Select the space

  • Select the parent or child pages you want to update

  • Select Run

Table View

Bulk Delete Comments from One or More Pages

Feature Description

This feature deletes all comments that are older than a specified age from one or more pages.

You can select all pages within a page tree, that is a page and all of its children, select individual pages within a space or a combination of both.

How to run it

  • Select the space

  • Select the parent or children pages you want to update

  • Select if you want all comments of descendent pages of the selected page to be removed

  • Choose the minimum age of comments to be deleted.

Note: Comments older than the minimum specified age will be deleted. For example if you select the '1 day' option, comments older than a day will be deleted on your specified pages.

  • Select Run

Table View

Bulk Purge Trash

Feature Description

This feature allows you to purge all trash for one or all spaces.

Note - This is a permanent action, once you’ve emptied the trash, content won’t be recoverable.

How to run it

  • Select a space or select all spaces

  • Select Run

Table View

Copy Page Tree

Feature Description

This feature allows you to copy all pages within a page tree, that is a page and all of its children, to another space or to the same space.

When copying you can rename pages or add a prefix to copied pages.

Note - To use this feature you require view permissions on all the pages you are copying, plus edit permission in the space that you are copying the page tree to.

How to run it

  • Select the space where the page tree is currently located

  • Specify the page tree that you wish to copy

  • Select the space you want to copy the page tree to

  • Add a prefix or specify the part or whole page name you wish to transform in the Search and Replace box

Note - If your target space is the space where the page tree originated, you must add a prefix or rename the pages since Confluence does not allow pages to have the same name in the same space

  • Select Run

Note - Links and image links within the tree of pages you are copying will automatically be updated to reflect any new page titles.

Table View

Copy Space

Feature Description

This feature allows you to make a complete copy of an existing space.

The following data will automatically be copied:

  • All pages and blogs

  • Space description

  • Space templates

You can optionally copy across the following data:

  • Attachments

  • Labels

  • Permissions

The following data is not supported and wont be copied:

  • Page likes

  • Comment likes

How to run it

  • Select the space you wish to copy

  • Add a new unique space key

  • Specify your space name

  • Select if you want to copy across attachments, labels, or permissions

  • Select Run

Table View

Delete Page Tree

Feature Description

This feature allows you to delete a page tree, that is a page and all of its children, that is a page and all of its children.

Deleted pages will be moved to the trash.

Note - You must have the edit permission on all of the pages that you’re trying to delete.

How to run it

  • Select a space

  • Specify the page tree that you wish to delete

  • Select Run

Table View

Rename Labels

Feature Description

This feature allows you to rename labels on a space or all spaces.

How to run it

  • Select a space or tick the checkbox to choose all spaces.

  • Specify the label that you want to rename

  • Specify the new replacement label name

  • Select Run

Note - labels are not case sensitive.

Table View