Pre-defined variables

The following variables are automatically available in the script.  Refer to the Confluence API documentation for how to use these many of these variables.

Macro parameters

All macro parameters are also defined as variables for the script.

Looking for something else

Open an issue if you would like to see additional variables provided. This list is occasionally updated make it easier to write simple scripts. The following technique can also be used to get access to additional Confluence components:

UserAccessor userAccessor = (UserAccessor)ContainerManager.getComponent("userAccessor");