Scripting for Confluence release 4.0


2012-12-18


Commercial Add-on

With this release, the add-on is now an Atlassian paid add-on - see this announcement.

Migration

Once this release is installed, Confluence will automatically start migrating Confluence 3.x style macros supported by this plugin to Confluence 4.x native macros. For this reason, it is not easy to move back to a previous ad-on version.

Product Levels

Product levels were not changed with this release to enable upgrades to Confluence 4.x macros without other changes. Another version with updated product levels will be released in the near future. Open issues if you have specific requirements.

Product Levels

Highlights

Native Confluence 4.x macros

Editor and macro browser support. Confluence 3.x wiki macros are still supported.

XHTML output

A new xhtml option has been added to the other output options of html and wiki so that the script can produce xhtml output if desired. With this option, the script data will be rendered as xhtml data.

Predefined variables

More predefined variables have been added and are now mostly consistent across languages. For more information, see Pre-defined variables.

Groovy grapes

Groovy grapes can now be used in groovy and gant scripts.

Accommodate Confluence 4.3 Template Changes

Confluence 4.3 has storage space based templates. This incompatibility means that script support that gets text from a global or space template is broken since the returned content is now storage format. To accommodate this problem, the handling of this data was changed to look for unformated text in the template. Consider any content that is wrapped in a noformat or wiki-markup (CWP:Wiki Plugin for Confluence) as the plain content from the template. All other data in the template will be ignored.

The incompatibility requires templates that are used for this capability to be updated to surround the text with the noformat or wiki-markup macros. Most standard usage does not employ this technique, however some Script users do use this extensively. To ease migration pains, support has been added for releases previous to Confluence 4.3 to allow the accommodation as well.

See How to deal with templates on Confluence 4.3 and later


Resolved Issues

type key summary reporter assignee priority status resolution votes
Loading...
Refresh

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.