---
title: "Scripting for Confluence"
canonical: "https://support.appfire.com/space/SCRP/73728019/Scripting%20for%20Confluence"
format: markdown
---
> Macro (aura-html)

> ⚠️ **The Scripting for Confluence app does not support Javascript macro from Confluence v8.9.2.**
> ⚠️ 
> ⚠️ - The Javascript macro fails if Confluence is upgraded to 8.9.x and Java is on version 17. Atlassian has started supporting Java 17, starting with version 8.9.x. [Read more](https://confluence.atlassian.com/doc/confluence-8-9-upgrade-notes-1384120457.html#Confluence8.9upgradenotes-GetreadyforConfluence9.0).

![image](media://cbef8d91-f38f-4de6-9461-6adbe141abfc)

# Description

Allow page content to be created using a scripting language. The power of a add-on without the need for a development environment.

The scripting languages include

1. [Groovy](http://groovy-lang.org/)
2. [Gant](https://github.com/Gant/Gant)
3. [Jython](http://www.jython.org/)
4. [BeanShell](http://www.beanshell.org/home.html)
5. [Javascript (Rhino)](https://github.com/mozilla/rhino) - server based

# Features

1. Powerful scripting capabilities using **Groovy**, **Jython**, **Beanshell, or Javascript**
2. [Pre-defined variables](https://appfire.atlassian.net/wiki/spaces/SCRP/pages/73728439) give you access to many Confluence managers and capabilities
3. Scripts can be located in the most convenient place for the use case
  1. macro body
  2. attachment to any page
  3. global template
  4. space template
  5. server file system
4. Secure use via [Macro Security for Confluence](https://appfire.atlassian.net/wiki/spaces/CMSP)

# Related Add-ons

|  |  |
| --- | --- |
| ![image](media://bb9f1ba3-254c-4e4d-b148-ca2ca1498c3b) | [Macro Security for Confluence](https://appfire.atlassian.net/wiki/spaces/CMSP)<br>- Protection against unauthorized use. |

# More Information

|  |  |  |
| --- | --- | --- |
| ![image](media://c86cd91e-c72f-4701-b09d-bd526158ce33) | [Marketplace](https://marketplace.atlassian.com/plugins/org.swift.confluence.script)<br>- Downloads
- Compatibility
- Pricing | [User guide](https://appfire.atlassian.net/wiki/spaces/SCRP/pages/73728580)<br>- [How to](https://appfire.atlassian.net/wiki/spaces/SCRP/pages/73730597)
- [Release notes](https://appfire.atlassian.net/wiki/spaces/SCRP/pages/73728646) |

# Gallery

![image](media://6118b1e0-3fa3-4389-ab06-de2a1bc8be8a)