com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: summary

Atlassian JIRA | Julian Rahmadiputra [Atlassian] | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    It seems that the below tutorial would need to be reviewed: - [Plugin Tutorial - Writing custom importer using JIRA Importers Plugin|https://developer.atlassian.com/display/JIRADEV/Plugin%20Tutorial%20-%20Writing%20custom%20importer%20using%20JIRA%20Importers%20Plugin] I have followed the steps that is instructed in the tutorial and the import will fail. The condition is that when the CSV import is to a project with Software Development Template including the workflow it will throws errors, screenshot and logs below. !customimport.PNG|thumbnail! In {{atlassian-jira.log}} shows: {noformat} 2014-10-23 18:06:45,760 JiraTaskExectionThread-1 INFO admin 1086x4387x1 6q8ey2 10.60.2.192 /secure/admin/ImporterLogsPage!import.jspa [imports.importer.impl.AbstractDataImporter$1Thread[http-bio-2990-exec-10,5,main]] Created Priority : priority with id 6 2014-10-23 18:06:45,847 JiraTaskExectionThread-1 ERROR admin 1086x4387x1 6q8ey2 10.60.2.192 /secure/admin/ImporterLogsPage!import.jspa [imports.importer.impl.AbstractDataImporter$1Thread[http-bio-2990-exec-10,5,main]] Error importing issue ExternalIssue{externalId=issueId, summary=summary, issueType=1} com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: summary at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:194) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:896) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:764) .... Caused by: com.atlassian.jira.plugins.importer.external.ExternalException: Status 'Open' does not have a linked step in the 'CSV: Software Development Workflow' workflow. Please map to a different status. at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.checkStatus(ExternalUtils.java:209) at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:183) ... 35 more {noformat} In addition, by download the branches from the provided link to get the source also fails. *Notes:* By selecting to create a new project that uses the default workflow will get the CSV import possible. All the information from the CSV file will be imported as an issue.

    Atlassian JIRA | 2 years ago | Julian Rahmadiputra [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: summary
  2. 0

    It seems that the below tutorial would need to be reviewed: - [Plugin Tutorial - Writing custom importer using JIRA Importers Plugin|https://developer.atlassian.com/display/JIRADEV/Plugin%20Tutorial%20-%20Writing%20custom%20importer%20using%20JIRA%20Importers%20Plugin] I have followed the steps that is instructed in the tutorial and the import will fail. The condition is that when the CSV import is to a project with Software Development Template including the workflow it will throws errors, screenshot and logs below. !customimport.PNG|thumbnail! In {{atlassian-jira.log}} shows: {noformat} 2014-10-23 18:06:45,760 JiraTaskExectionThread-1 INFO admin 1086x4387x1 6q8ey2 10.60.2.192 /secure/admin/ImporterLogsPage!import.jspa [imports.importer.impl.AbstractDataImporter$1Thread[http-bio-2990-exec-10,5,main]] Created Priority : priority with id 6 2014-10-23 18:06:45,847 JiraTaskExectionThread-1 ERROR admin 1086x4387x1 6q8ey2 10.60.2.192 /secure/admin/ImporterLogsPage!import.jspa [imports.importer.impl.AbstractDataImporter$1Thread[http-bio-2990-exec-10,5,main]] Error importing issue ExternalIssue{externalId=issueId, summary=summary, issueType=1} com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: summary at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:194) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:896) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:764) .... Caused by: com.atlassian.jira.plugins.importer.external.ExternalException: Status 'Open' does not have a linked step in the 'CSV: Software Development Workflow' workflow. Please map to a different status. at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.checkStatus(ExternalUtils.java:209) at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:183) ... 35 more {noformat} In addition, by download the branches from the provided link to get the source also fails. *Notes:* By selecting to create a new project that uses the default workflow will get the CSV import possible. All the information from the CSV file will be imported as an issue.

    Atlassian JIRA | 2 years ago | Julian Rahmadiputra [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: summary

    Root Cause Analysis

    1. com.atlassian.jira.plugins.importer.external.ExternalException

      Unable to create issue: summary

      at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue()
    2. com.atlassian.jira
      DefaultJiraDataImporter.importIssues
      1. com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:194)
      2. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:896)
      3. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:764)
      3 frames