This article is for Data Center. Visit Cloud
Upgrading and Downgrading
Upgrading
To upgrade Structure 3.0 or later:
- Consider backing up Jira data. Use Administration | System | Backup System. (If you have a large instance and a proper backup strategy in place, you may skip this step.)
- Back up Structure data. Use Administration | Structure | Backup Structure. See Backing Up Structure for details. If you have a lot of structures and a large Jira, consider turning off the "Backup History" option to avoid a long backup process.
Install the new version of the plugin.
- Check Structure extensions. If you are using Structure.Testy, Structure.Pages, Structure.Gantt or other extensions, they may become disabled. In this case, you need to either upgrade them too (it might be a compatibility requirement) or enable them manually in the Add-on Manager. If they fail to enable, reinstall them (uninstall and install again).
- Check plugins that integrate with Structure. As with extensions, make sure they are enabled and upgrade/reinstall as necessary.
- Monitor
catalina.out
orjira-application.log
for warnings or errors.
We strongly recommend that you back up your data before upgrading. The introduction of manual adjustments required changes to our backup file format, which makes previous versions of Structure unable to restore data from backup files created by Structure 5.0 and later. For more information, see Backup Format Version Change.
For more specific instructions, please check the Release Notes for the version to which you wish to upgrade.Â
Downgrading
Reverting Structure to an older version is not always possible, because newer versions can modify the database, making it incompatible with older versions.
Simplified Downgrade
A simple downgrade is possible if the database schema hasn't changed. Check the Release Notes for the version you are downgrading from and look for a downgrade advisory. Proceed only if you have indications that it is safe to downgrade to the specific version you have in mind.
- Uninstall Structure. This step is required, because Add-on Manager will not install an earlier version over a later version.
- Install the version that you need.
- Check Structure extensions and integrating add-ons. See the steps in the Upgrading section above.
- MonitorÂ
catalina.out
 orÂjira-application.log
 for warnings or errors. This is especially important with this kind of downgrade, because some errors may be subtle and not visible to users!
Reliable Downgrade
Reliable downgrade requires a Structure backup file and manual access to the database.
- Create a Structure backup using Administration | Structure | Backup Structure.Â
- Backup files are backward / forward compatible along Structure 5.x series. To downgrade to an earlier version, see Downgrading to Structure 3.0 - 4.6. Note: it is not possible to downgrade to Structure 2.x using a 3.0 or later backup file.
- You can also use a previously created backup file. Note that all data will be rolled back to the state when the backup file was created.
- Uninstall Structure.
- Double-check you have the backup! You are about to delete all Structure data.
- Manually access your database using database tools. Drop all tables that start withÂ
AO_8BAD1B_
. If after that you have other objects starting with that prefix, drop them too. - Install the previous version of Structure.
- Use Administration | Structure | Restore Structure to populate the data from the backup file.
- Check Structure extensions and integrating add-ons. See the steps in the Upgrading section above.
- MonitorÂ
catalina.out
 orÂjira-application.log
 for warnings or errors.
Creating a backup and restoring from backup may require considerable time. If you want to speed up the process and you don't need the history of structure changes, turn off the option "Include History" when creating a backup.
Downgrading to Structure 3.0 - 4.6
If you are using Structure 3.x or 4.x: follow the upgrade instructions above.
If you are using Structure 5.0 or later: in Structure 5.0 we had to change the backup file format version, due to the backwards-incompatible changes required by the introduction of manual adjustments. This means that previous versions of Structure will not be able to restore data from backup files created by Structure 5.0 and later.
To downgrade to an earlier version, use the procedure outlined below to restore Structure data from a 5.0 backup file:
- Unpack the XML backup file from the ZIP archive created by Structure.
- Change theÂ
version
 attribute in theÂ<structure-backup>
 element from "5.0" to "3.3". - Delete allÂ
<manualAdjustments>
 elements from the XML.
Then you can restore directly from the modified XML file; you do not have to pack it into a ZIP archive.