Summary

      Generating Jira Server export and importing to Jira Cloud fails with the follow error:

      Error importing data: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $]
      

       

      Steps to Reproduce

      1. Create a backup in Jira Server 
      2. Import backup into Cloud 

      Expected Result

      • Import is successful

      Actual Result

      Import fails with the following error. 

      Error importing data: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $]
      

      Note: The error could be only seen from the logs
       

      More Information

      • It potentially affects the instance easier if the backup file is taken from Jira Server that just recently import from Jira Cloud
      • The issue occurs if there are local only dashboard items on the server instance. Such items do not have the <replace-gadget-spec-uri> element in their module descriptor.

            [JRACLOUD-81944] Import Error caused by mismatch in json encoding

            Atlassian Update - November 2023

            As I did not receive any responses this comment I am closing this ticket.

            If you do not think this issue should have been closed, please add a comment here saying why and we can reopen it.

            Anusha Rutnam added a comment - Atlassian Update - November 2023 As I did not receive any responses this comment I am closing this ticket. If you do not think this issue should have been closed, please add a comment here saying why and we can reopen it.

            We haven't had any recent reports of this bug. Have the watchers of this issue experienced it recently?

            Anusha Rutnam added a comment - We haven't had any recent reports of this bug. Have the watchers of this issue experienced it recently?

              Unassigned Unassigned
              vgambhir Vik
              Affected customers:
              5 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: