com.atlassian.jira.external.ExternalException: Unable to create issue: Womble

Atlassian JIRA | Jeff Turner | 7 years ago
  1. 0

    Given the CSV: {noformat} type,summary,status,realstatus Bug,Womble,ignorethis,Closed {noformat} mapped such that realstatus is mapped to Status: !csvmapping.png! Resulting in this properties file: {noformat} # written by PropertiesConfiguration # Fri Sep 25 00:39:35 EDT 2009 delimiter = \, existingprojectkey = AE importsingleproject = false importexistingproject = true mapfromcsv = false field.summary = summary field.realstatus = status field.type = type value.type.Bug = 1 value.realstatus.Closed = 10003 user.email.suffix = @atlassian.com {noformat} Importing breaks with: {noformat} [00:39:39] FAILED: Error importing issue Issue {summary=Womble, type=1} [00:39:39] com.atlassian.jira.external.ExternalException: Unable to create issue: Womble at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:320) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:508) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:125) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21) Caused by: com.atlassian.jira.external.ExternalException: Cannot find status with id 'ignorethis'. at com.atlassian.jira.external.ExternalUtils.checkStatus(ExternalUtils.java:343) at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:306) ... 3 more {noformat} For some reason the status mapping isn't being persisted, and the importer assumes the 'status' column maps.

    Atlassian JIRA | 7 years ago | Jeff Turner
    com.atlassian.jira.external.ExternalException: Unable to create issue: Womble
  2. 0

    Given the CSV: {noformat} type,summary,status,realstatus Bug,Womble,ignorethis,Closed {noformat} mapped such that realstatus is mapped to Status: !csvmapping.png! Resulting in this properties file: {noformat} # written by PropertiesConfiguration # Fri Sep 25 00:39:35 EDT 2009 delimiter = \, existingprojectkey = AE importsingleproject = false importexistingproject = true mapfromcsv = false field.summary = summary field.realstatus = status field.type = type value.type.Bug = 1 value.realstatus.Closed = 10003 user.email.suffix = @atlassian.com {noformat} Importing breaks with: {noformat} [00:39:39] FAILED: Error importing issue Issue {summary=Womble, type=1} [00:39:39] com.atlassian.jira.external.ExternalException: Unable to create issue: Womble at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:320) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:508) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:125) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21) Caused by: com.atlassian.jira.external.ExternalException: Cannot find status with id 'ignorethis'. at com.atlassian.jira.external.ExternalUtils.checkStatus(ExternalUtils.java:343) at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:306) ... 3 more {noformat} For some reason the status mapping isn't being persisted, and the importer assumes the 'status' column maps.

    Atlassian JIRA | 7 years ago | Jeff Turner
    com.atlassian.jira.external.ExternalException: Unable to create issue: Womble
  3. 0

    The first time I attempted to import i was getting ImportIssueBean@101972a[<null>,<null>,<null>] Obviously because I had forgotten to map summary and issue type. There is a third field which I am missing too. Thankfully I write Java for a living so I can decipher this error message, but I can see no reason why a more meaningful message can not be provided to the user to indicate that mandatory fields are not being specified. [23:39:01] --------------------------- [23:39:01] Importing of Issues started [23:39:01] Only new Issues will be imported [23:39:01] Importing issue number 1 : ImportIssueBean@101972a[D01,1,<null>] [23:39:01] FAILED: Error importing issue ImportIssueBean@101972a[D01,1,<null>] [23:39:01] com.atlassian.jira.external.ExternalException: Unable to create issue: ImportIssueBean@101972a[D01,1,<null>] at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:268) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:379) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:86) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:16) Caused by: java.lang.IllegalArgumentException at com.atlassian.jira.workflow.AbstractJiraWorkflow.getLinkedStep(AbstractJiraWorkflow.java:169) at com.atlassian.jira.external.ExternalUtils.setCurrentWorkflowStep(ExternalUtils.java:286) at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:262) ... 3 more From: http://jira.atlassian.com/browse/JRA-6771 (more comments there)

    Ecosystem JIRA | 6 years ago | Roy Krishna
    com.atlassian.jira.external.ExternalException: Unable to create issue: ImportIssueBean@101972a[D01,1,<null>]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The first time I attempted to import i was getting ImportIssueBean@101972a[<null>,<null>,<null>] Obviously because I had forgotten to map summary and issue type. There is a third field which I am missing too. Thankfully I write Java for a living so I can decipher this error message, but I can see no reason why a more meaningful message can not be provided to the user to indicate that mandatory fields are not being specified. [23:39:01] --------------------------- [23:39:01] Importing of Issues started [23:39:01] Only new Issues will be imported [23:39:01] Importing issue number 1 : ImportIssueBean@101972a[D01,1,<null>] [23:39:01] FAILED: Error importing issue ImportIssueBean@101972a[D01,1,<null>] [23:39:01] com.atlassian.jira.external.ExternalException: Unable to create issue: ImportIssueBean@101972a[D01,1,<null>] at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:268) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:379) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:86) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:16) Caused by: java.lang.IllegalArgumentException at com.atlassian.jira.workflow.AbstractJiraWorkflow.getLinkedStep(AbstractJiraWorkflow.java:169) at com.atlassian.jira.external.ExternalUtils.setCurrentWorkflowStep(ExternalUtils.java:286) at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:262) ... 3 more

    Atlassian JIRA | 1 decade ago | Barrie Treloar
    com.atlassian.jira.external.ExternalException: Unable to create issue: ImportIssueBean@101972a[D01,1,<null>]
  6. 0

    The first time I attempted to import i was getting ImportIssueBean@101972a[<null>,<null>,<null>] Obviously because I had forgotten to map summary and issue type. There is a third field which I am missing too. Thankfully I write Java for a living so I can decipher this error message, but I can see no reason why a more meaningful message can not be provided to the user to indicate that mandatory fields are not being specified. [23:39:01] --------------------------- [23:39:01] Importing of Issues started [23:39:01] Only new Issues will be imported [23:39:01] Importing issue number 1 : ImportIssueBean@101972a[D01,1,<null>] [23:39:01] FAILED: Error importing issue ImportIssueBean@101972a[D01,1,<null>] [23:39:01] com.atlassian.jira.external.ExternalException: Unable to create issue: ImportIssueBean@101972a[D01,1,<null>] at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:268) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:379) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:86) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:16) Caused by: java.lang.IllegalArgumentException at com.atlassian.jira.workflow.AbstractJiraWorkflow.getLinkedStep(AbstractJiraWorkflow.java:169) at com.atlassian.jira.external.ExternalUtils.setCurrentWorkflowStep(ExternalUtils.java:286) at com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:262) ... 3 more

    Atlassian JIRA | 1 decade ago | Barrie Treloar
    com.atlassian.jira.external.ExternalException: Unable to create issue: ImportIssueBean@101972a[D01,1,<null>]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.jira.external.ExternalException

      Cannot find status with id 'ignorethis'.

      at com.atlassian.jira.external.ExternalUtils.checkStatus()
    2. com.atlassian.jira
      ImporterThread.run
      1. com.atlassian.jira.external.ExternalUtils.checkStatus(ExternalUtils.java:343)
      2. com.atlassian.jira.external.ExternalUtils.createIssue(ExternalUtils.java:306)
      3. com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:508)
      4. com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:125)
      5. com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21)
      5 frames