How to migrate a space template to a global template
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
An admin may have a Space Template that they would like to promote to a Global Template. There doesn't appear to be a way to do this via the UI.
Diagnosis
Environment
Confluence
Cause
Currently, native Confluence functionality does not offer the admin a way to promote a space template to the global template list. There is an open feature request on this functionality : CONFSERVER-59999 - Getting issue details... STATUS
Workaround
It is possible to simply port over the template content manually into a new global template using the Confluence Source Editor.
- Install the Confluence Source Editor add on
- Edit the space template and open the source editor by clicking the <> near the upper right hand corner of the editor
- Copy the XHTML of the template
- Create a new Global template and save it.
- Edit this template now and open the source editor by clicking the <>
- Paste the source in and save.
The template variables cannot be migrated with this method, you need to redefine the variables in the destination template.