Description

Scripting using Javascript. Since 4.1.0. This is server based scripting using Javascript . Not to be confused with client side (browser) Javascript use - you need to use the Html-bobswift macro for that.

Parameters

Pre-defined variables

Usage

{javascript}
var v = new java.lang.Runnable() {
    run: function() { print('This is some test data.'); }
};
v.run();
{javascript}
{javascript:output=wiki|script=#my.js|group=confluence-users}
{javascript}
{javascript:output=wiki|script=^my.js|showCode=true}
{javascript}

Other examples

Security

This macro supports Macro Security for Confluence.