Javascript macro
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
- See Macro 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.
Log a request with our support team.
Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.