Error message for JSON parse errors is less helpful than it could be

XMLWordPrintable

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      When the importer fails to parse JSON, the error message says:

      Import completed with 2 errors:
      Failed to create data bean
      Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state
      

      However:

      1. An end user doesn't know or care what a "data bean" is.
      2. The data is definitely not in an unstable state because we haven't done anything yet.
      3. The detailed log has an error message that gives the line number and column of the parsing error.

      Suggested improvement:

      • Report a more meaningful error and include the location directly in the report. Example: The JSON import file could not be parsed. Unexpected character ('T' (code 84)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at line: 2, column: 2

            Assignee:
            Unassigned
            Reporter:
            Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: