How to Enable Secure Administration for Cloud Backup restored in Server Instance for JIRA
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
Restoring backup from cloud backup will disable secure administration function as this function is not available in JIRA Cloud. Secure administration is a feature that require double authentication before performing any administrative function in JIRA server instance.
Resolution
Make backups before starting this process. As per Atlassian Support Offerings the modification for your SQL database and entities.xml is not supported by Atlassian.
There are two method to enable secure administration in JIRA after cloud backup restoration as mmentioned below:
Delete OS Property Entry Id in Cloud Backup before Restoration
- Extract the cloud backup and open entities.xml in a text editor
Find
<OSPropertyEntry id="10103" entityName="jira.properties" entityId="1" propertyKey="jira.websudo.is.disabled" type="1"/>
in your entities.xml and delete it
- Repack your edited entities.xml together with activeobject.xml and restore the backup.
- Restart JIRA
- Login as Administrator and test secure administration function.
Cloud backup already restored and secure administration is not enabled
Run below query in you database
SELECT * FROM propertyentry WHERE property_key='jira.websudo.is.disabled';
You will get the result as shown below:
Run this query to delete the entry
DELETE FROM propertyentry WHERE property_key='jira.websudo.is.disabled';
Restart your JIRA instance and try secure administration access.