Compatibility with Confluence
Confluence 9
Compatibility with Confluence 9
Only those versions marked as compatible in the Atlassian Marketplace will work with Confluence 9. If you have been through the Confluence 7 to Confluence 8 upgrade, this process should be familiar and relatively smooth. For further reference, see Atlassian's Preparing for Confluence 9 documentation. The information on this page is focused on the areas of change likely to affect your scripts.
Script functionality
Some of your scripts may fail if you upgrade without modifications. The major areas of change are listed below and on the Breaking Changes page.
Upgrades and staging Environments
If you do not have a staging environment, check out the Atlassian documentation to create one. You should be able to reliably clone your production instance to the staging environment, so you can test plugins and upgrades.
A good strategy to follow is to:
Make changes to remove all deprecated code before you upgrade. If you remove deprecated code, then your code has the best chance of working unchanged with Confluence 9.
Deprecated code is shown as a warning.
Upgrade your staging instance to Confluence 9.
Review your scripts to make sure you don’t have any type checking errors, and Test.
Record changes, if needed.
When upgrading your production instance using inline scripts some changes are necessary. For files, you can update your Scripts Directory, e.g. by merging from a branch.
Changes to Confluence Java API
You can review changes to the Confluence Java API on Atlassian's Deprecated Code Paths Removed in 9.0.
Anything else?
Did we miss something important that script authors should take into account when upgrading? Please let us know.
If it’s likely to affect more than a couple of users we will add it to this documentation.
Confluence 8
Compatibility with Confluence 8
Only those versions marked as compatible in the Atlassian Marketplace will work with Confluence 8.
Some of your scripts may fail if you upgrade without modifications.
If you have been through the Confluence 6 → 7 upgrade, you have little to fear in upgrading to Confluence 8.
You may not need to make any changes to your own scripts. The major areas of change are listed below.
For further reference, see Atlassian's Preparing for Confluence 8 documentation. The information here is focused on the areas of change likely to affect script writers.
Please manually review your configured scripts for each feature.
Upgrades and staging Environments
If you do not have a staging environment, you should invest the time it takes to create one. You should be able to reliably clone your production instance to the staging environment, so you can test plugins and upgrades.
A good strategy to follow is to:
Make changes to remove all deprecated code while you are using Confluence 8. If you remove deprecated code, then your code has the best chance of working unchanged with Confluence 8.
Deprecated code is shown as a warning.
Upgrade your staging instance to Confluence 8.
Review your scripts to make sure you don’t have any type checking errors, and Test.
Record changes, if needed.
When upgrading your production instance using inline scripts some changes are necessary. For files, you can update your Scripts Directory, e.g. by merging from a branch.
Changes to Confluence Java API
You can review changes to the Confluence Java API on Atlassian's Deprecated Code Paths Removed in 8.0.
Anything else?
Did we miss something important that script authors should take into account when upgrading? Please let us know.
If it’s likely to affect more than a couple of users we will add it to this documentation.