Unable to download json detailed log if there is invalid format

XMLWordPrintable

    • 8
    • Severity 3 - Minor
    • 0

      Summary

      Unable to download json detailed log if the json file contain invalid format

      Steps to Reproduce

      Export any Jira issue in json format and edit the due date format (see below):

       "duedate": ",\"",
      

      Actual Result

      It redirects to https://<Cloud URL>.atlassian.net/rest/jira-importers-plugin/1.0/importer/com.atlassian.jira.plugins.jim-plugin:jsonImporter/log with below error message:

      This <Cloud URL>.atlassian.net page can’t be found It may have been moved or deleted.
      HTTP ERROR 410
      

      Expected Result

      The log should be downloaded.

      Stack Trace

            	 msg:	 There was a problem validating the json file. The fields [issues, duedate] are not valid.	
          	 stack:	 java.lang.RuntimeException: There was a problem validating the json file. The fields [issues, duedate] are not valid.
      	at com.atlassian.jira.plugins.importer.sample.SampleDataImporterImpl.parseSampleData(SampleDataImporterImpl.java:71)
      	at com.atlassian.jira.plugins.importer.imports.taskrunners.JsonImporterTaskRunner.createDataBean(JsonImporterTaskRunner.java:85)
      

            Assignee:
            Unassigned
            Reporter:
            Adven (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: