Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-8008

If a status is mapped in the CSV import to a status that is not used in the workflow then the import of the issue fails

    XMLWordPrintable

Details

    Description

      The import of the issue fails with the NullPointerExeception such as:

      [14:42:19] com.atlassian.jira.external.ExternalException: Unable to create issue: Issue

      {summary=Phase 1: Create reports Daily Prep For Success, Daily Prep For Success, type=4}

      at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:268)
      at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:372)
      at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:84)
      at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21)
      Caused by: java.lang.NullPointerException
      at com.atlassian.jira.external.ExternalUtils.setCurrentWorkflowStep(ExternalUtils.java:295)
      at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:261)
      ... 3 more

      Attachments

        Issue Links

          Activity

            People

              anton@atlassian.com AntonA
              anton@atlassian.com AntonA
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: