JIRA backups are missing user encryption method values

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Summary

      JIRA backup (both server and cloud) currently doesn't contain user encryption method value. This doesn't cause major problems during the import process of a Cloud backup into JIRA Server but after the import is completed, user will not be able to access even when using the correct sysadmin credential.

      Expected Result

      When checking the entities.xml this should be the expected result.

          <Directory id="1" directoryName="JIRA Internal Directory" lowerDirectoryName="jira internal directory" createdDate="2013-02-28 11:57:51.308" updatedDate="2016-07-13 15:30:41.195" active="1" description="JIRA default internal directory" implementationClass="com.atlassian.crowd.directory.InternalDirectory" lowerImplementationClass="com.atlassian.crowd.directory.internaldirectory" type="INTERNAL" position="0"/>
          <DirectoryAttribute directoryId="1" name="user_encryption_method" value="atlassian-security"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_ROLE_ATTRIBUTE"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_GROUP"/>
          <DirectoryOperation directoryId="1" operationType="DELETE_USER"/>
          <DirectoryOperation directoryId="1" operationType="CREATE_GROUP"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_USER"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_USER_ATTRIBUTE"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_ROLE"/>
          <DirectoryOperation directoryId="1" operationType="CREATE_USER"/>
          <DirectoryOperation directoryId="1" operationType="CREATE_ROLE"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_GROUP_ATTRIBUTE"/>
          <DirectoryOperation directoryId="1" operationType="DELETE_GROUP"/>
          <DirectoryOperation directoryId="1" operationType="DELETE_ROLE"/>
      

      Current Results

      Currently newly generated backups from new JIRA instances doesn't have the user encryption method value.

          <Directory id="1" directoryName="JIRA Internal Directory" lowerDirectoryName="jira internal directory" createdDate="2015-10-19 11:48:18.871" updatedDate="2017-05-16 06:19:07.323" active="1" description="JIRA default internal directory" implementationClass="com.atlassian.crowd.directory.InternalDirectory" lowerImplementationClass="com.atlassian.crowd.directory.internaldirectory" type="INTERNAL" position="0"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_USER"/>
          <DirectoryOperation directoryId="1" operationType="DELETE_USER"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_GROUP_ATTRIBUTE"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_ROLE"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_ROLE_ATTRIBUTE"/>
          <DirectoryOperation directoryId="1" operationType="CREATE_USER"/>
          <DirectoryOperation directoryId="1" operationType="DELETE_ROLE"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_USER_ATTRIBUTE"/>
          <DirectoryOperation directoryId="1" operationType="CREATE_GROUP"/>
          <DirectoryOperation directoryId="1" operationType="UPDATE_GROUP"/>
          <DirectoryOperation directoryId="1" operationType="CREATE_ROLE"/>
          <DirectoryOperation directoryId="1" operationType="DELETE_GROUP"/>
      

      This is missing.

          <DirectoryAttribute directoryId="1" name="user_encryption_method" value="atlassian-security"/>
      

      Workaround

      The below workaround can be used to solve the problem.

            Assignee:
            Oliver Hookins (Inactive)
            Reporter:
            Vincent Chin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: