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

Atlassian JIRA | Julian Rahmadiputra [Atlassian] | 2 years ago
  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
  3. 0

    A bug is happening on import of projects from Bitbucket to JIRA. When issues are imported to a JIRA project, their issue types are requested, as the image below shows: !mapping_importing_issues_bitbucket_jira.png! The available issue types are not the ones in the project’s ‘Issue Type Scheme’ and when selected an issue type that is not one of the types available for the project, an error occurs. This is the error !error_importing_bitbucket.png! It reads ‘Error importing issue ExternalIssue{externalId=1, summary=Test issue, issueType=1}’ When checking the logs, the follow stacktrace is present for the error: {noformat} ERROR - Error importing issue ExternalIssue{externalId=2, summary=Mode command text moves when mouse is held down, issueType=1} com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create or update issue: ExternalIssue{externalId=2, summary=Mode command text moves when mouse is held down, issueType=1} at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:903) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:764) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:390) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) ... {noformat} *Steps to reproduce* * Create a project in JIRA that does not contain all issue types * Create a project in BitBucket and create issues * Import the project in Bitbucket to the project in JIRA * Map some issue types (with existent issues in BitBucket) in the project to types that are not mapped to the project * Begin import * The error will occur *Workarounds* * Check carefully the types to make sure no type is mapped to unmapped types in the project

    Atlassian JIRA | 2 years ago | Jaime Silveira [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create or update issue: ExternalIssue{externalId=2, summary=Mode command text moves when mouse is held down, issueType=1}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    A bug is happening on import of projects from Bitbucket to JIRA. When issues are imported to a JIRA project, their issue types are requested, as the image below shows: !mapping_importing_issues_bitbucket_jira.png! The available issue types are not the ones in the project’s ‘Issue Type Scheme’ and when selected an issue type that is not one of the types available for the project, an error occurs. This is the error !error_importing_bitbucket.png! It reads ‘Error importing issue ExternalIssue{externalId=1, summary=Test issue, issueType=1}’ When checking the logs, the follow stacktrace is present for the error: {noformat} ERROR - Error importing issue ExternalIssue{externalId=2, summary=Mode command text moves when mouse is held down, issueType=1} com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create or update issue: ExternalIssue{externalId=2, summary=Mode command text moves when mouse is held down, issueType=1} at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:903) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:764) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:390) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) ... {noformat} *Steps to reproduce* * Create a project in JIRA that does not contain all issue types * Create a project in BitBucket and create issues * Import the project in Bitbucket to the project in JIRA * Map some issue types (with existent issues in BitBucket) in the project to types that are not mapped to the project * Begin import * The error will occur *Workarounds* * Check carefully the types to make sure no type is mapped to unmapped types in the project

    Atlassian JIRA | 2 years ago | Jaime Silveira [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create or update issue: ExternalIssue{externalId=2, summary=Mode command text moves when mouse is held down, issueType=1}
  6. 0

    When importing a project from a CSV with some field required by a validator on the destination project, JIRA displays a generic message on the screen {quote} Import completed with ## errors: * Error importing issue ExternalIssue{externalId=XXXXX, summary=XXXXXX,...} {quote} If you look into the JIRA logs, you can find a clear error stating the 'Work Type' is required {noformat} 2013-04-04 16:43:25,531 JiraTaskExectionThread-13 ERROR jon.parmley 1003x2732480x1 1igebw2 10.1.3.129,127.0.0.1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-1,5,main]] Error importing issue ExternalIssue{externalId=autoid-440121166144345997, summary=FBI-2866 CCF | SEO New, issueType=160} com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: FBI-2866 CCF | SEO New at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:172) ... Caused by: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: Work Type is required. at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:450) ... Caused by: [InvalidInputException: [Error map: [{}]] [Error list: [[Work Type is required.]]] at com.googlecode.jsu.util.ValidatorErrorsBuilder.process(ValidatorErrorsBuilder.java:45) ... {noformat} It shouldn't be necessary for the user to get into the logs to find this error

    Atlassian JIRA | 4 years ago | Marcus Silveira [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: FBI-2866 CCF | SEO New

    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.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