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

Atlassian JIRA | Pedro Cora [Atlassian] | 2 years ago
  1. 0

    h5. Steps to Reproduce # Check if in Bitbucket, you have some issues that have the status set to *closed* # Go to the *External System Import* and choose *Import from Bitbucket* # Follow the wizard, map the repository to a project and go on. # When the import begins, it will error out: {noformat} 2014-11-14 15:32:47,881 ERROR - Error importing issue ExternalIssue{externalId=1, summary=Testing, issueType=1} com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: Testing 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) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy2540.doImport(Unknown Source) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:527) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:490) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:253) at java.lang.Thread.run(Thread.java:744) Caused by: com.atlassian.jira.plugins.importer.external.ExternalException: Cannot find status with id 'closed'. at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.checkStatus(ExternalUtils.java:214) at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:183) ... 33 more {noformat} h5. Expected results You should be able to import, the status exists in JIRA.

    Atlassian JIRA | 2 years ago | Pedro Cora [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: Testing
  2. 0

    h5. Steps to Reproduce # Check if in Bitbucket, you have some issues that have the status set to *closed* # Go to the *External System Import* and choose *Import from Bitbucket* # Follow the wizard, map the repository to a project and go on. # When the import begins, it will error out: {noformat} 2014-11-14 15:32:47,881 ERROR - Error importing issue ExternalIssue{externalId=1, summary=Testing, issueType=1} com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: Testing 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) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy2540.doImport(Unknown Source) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:527) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:490) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:253) at java.lang.Thread.run(Thread.java:744) Caused by: com.atlassian.jira.plugins.importer.external.ExternalException: Cannot find status with id 'closed'. at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.checkStatus(ExternalUtils.java:214) at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:183) ... 33 more {noformat} h5. Expected results You should be able to import, the status exists in JIRA.

    Atlassian JIRA | 2 years ago | Pedro Cora [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: Testing
  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

    h3. Summary JIRA fails to import a project using JSON. If the project contains a custom ranking field, it will be added to JIRA even if the import fails. h3. Environment * JIRA 7.1.9 h3. Steps to Reproduce # Deploy a fresh JIRA 7.1.9 instance. # Create a new Scrum project named TEST. # Create 3 stories. # Rank the stories. # Add a new custom field of type *Global Rank* with the name *Test Rank*. # Rebalance all fields in *System > LexoRank management > Balance all fields*. # On *Manage add-ons*, enable the modules {{searchrequest-json}} and {{issue-json}} on the *jira-importers-plugin*. # Run the JQL query {{project = TEST ORDER BY Rank ASC}} # Click *Export > JSON* and save the results as a JSON file. # Deploy another fresh JIRA 7.1.9 instance. # Navigate to *System > External System Import > JSON*. # Select the previously exported JSON file and click *Begin Import* # The import will fail. # Navigate to *Issues > Custom Fields*. # Notice how the *Test Rank* field was added even though the import failed. h3. Expected Results The import completes successfully. h3. Actual Results The import fails and generates the log below. However, the *Test Rank* field will be created in JIRA. {code:none|borderStyle=solid|borderColor=#6A8EB3|bgColor=#F8F8F8|title=Import failure log} 2016-08-09 17:21:10,085 INFO - Import started by admin using com.atlassian.jira.plugins.importer.sample.SampleDataBean 2016-08-09 17:21:10,097 INFO - ------------------------------ 2016-08-09 17:21:10,097 INFO - Importing: Users 2016-08-09 17:21:10,097 INFO - ------------------------------ 2016-08-09 17:21:10,097 INFO - Only new items will be imported 2016-08-09 17:21:10,099 INFO - 1 users associated with import. All of them imported as inactive, this can be changed after import in User Access step. 2016-08-09 17:21:10,099 INFO - ------------------------------ 2016-08-09 17:21:10,099 INFO - Finished Importing : Users 2016-08-09 17:21:10,099 INFO - ------------------------------ 2016-08-09 17:21:10,099 INFO - 0 users successfully created. 2016-08-09 17:21:10,099 INFO - Retrieving projects... 2016-08-09 17:21:10,388 INFO - Created Project: ExternalProject{id='null', key='TEST', externalName='TEST', name='TEST'} successfully 2016-08-09 17:21:10,413 INFO - ------------------------------ 2016-08-09 17:21:10,413 INFO - Importing: Versions 2016-08-09 17:21:10,413 INFO - ------------------------------ 2016-08-09 17:21:10,413 INFO - Only new items will be imported 2016-08-09 17:21:10,413 INFO - ------------------------------ 2016-08-09 17:21:10,413 INFO - Finished Importing : Versions 2016-08-09 17:21:10,414 INFO - ------------------------------ 2016-08-09 17:21:10,414 INFO - ------------------------------ 2016-08-09 17:21:10,414 INFO - Importing: Components 2016-08-09 17:21:10,414 INFO - ------------------------------ 2016-08-09 17:21:10,414 INFO - Only new items will be imported 2016-08-09 17:21:10,414 INFO - ------------------------------ 2016-08-09 17:21:10,414 INFO - Finished Importing : Components 2016-08-09 17:21:10,414 INFO - ------------------------------ 2016-08-09 17:21:10,414 INFO - Retrieving custom fields... 2016-08-09 17:21:10,414 INFO - ------------------------------ 2016-08-09 17:21:10,414 INFO - Importing: Issues 2016-08-09 17:21:10,414 INFO - ------------------------------ 2016-08-09 17:21:10,414 INFO - Only new items will be imported 2016-08-09 17:21:10,416 INFO - Importing issue: [externalId='null', summary='Story #3'] 2016-08-09 17:21:10,510 INFO - Custom field not found. Creating a new custom field for com.atlassian.jira.plugins.importer.external.beans.ExternalCustomField@357d34c5[id=Test Rank,name=Test Rank,typeKey=com.pyxis.greenhopper.jira:gh-lexo-rank,searcherKey=com.pyxis.greenhopper.jira:gh-lexo-rank-searcher,valueMappingDefinition=<null>,valueSet=<null>] 2016-08-09 17:21:10,557 ERROR - Error importing issue [externalId='null', summary='Story #3'] com.atlassian.jira.plugins.importer.external.ExternalException: Status To Do cannot be found in JIRA neither by name and id at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.normalizeStatus(ExternalUtils.java:218) at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:190) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:925) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:798) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:414) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:453) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:421) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216) at java.lang.Thread.run(Thread.java:745) 2016-08-09 17:21:10,558 INFO - Importing issue: [externalId='null', summary='Story #1'] 2016-08-09 17:21:10,560 ERROR - Error importing issue [externalId='null', summary='Story #1'] com.atlassian.jira.plugins.importer.external.ExternalException: Status To Do cannot be found in JIRA neither by name and id at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.normalizeStatus(ExternalUtils.java:218) at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:190) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:925) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:798) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:414) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:453) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:421) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216) at java.lang.Thread.run(Thread.java:745) 2016-08-09 17:21:10,560 INFO - Importing issue: [externalId='null', summary='Story #2'] 2016-08-09 17:21:10,562 ERROR - Error importing issue [externalId='null', summary='Story #2'] com.atlassian.jira.plugins.importer.external.ExternalException: Status To Do cannot be found in JIRA neither by name and id at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.normalizeStatus(ExternalUtils.java:218) at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:190) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:925) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:798) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:414) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:453) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:421) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216) at java.lang.Thread.run(Thread.java:745) 2016-08-09 17:21:10,565 INFO - 3 issues successfully created 2016-08-09 17:21:10,565 INFO - ------------------------------ 2016-08-09 17:21:10,565 INFO - Finished Importing : Issues 2016-08-09 17:21:10,565 INFO - ------------------------------ 2016-08-09 17:21:10,565 INFO - ------------------------------ 2016-08-09 17:21:10,565 INFO - Importing: Issue Links & Subtasks 2016-08-09 17:21:10,565 INFO - ------------------------------ 2016-08-09 17:21:10,565 INFO - Only new items will be imported 2016-08-09 17:21:10,565 INFO - ------------------------------ 2016-08-09 17:21:10,565 INFO - Finished Importing : Issue Links & Subtasks 2016-08-09 17:21:10,565 INFO - ------------------------------ 2016-08-09 17:21:10,566 INFO - No issues need to be reindexed. {code} h3. Workaround Unknown. h3. Notes I'm attaching the JSON file for reference and to speed up this bug reproduction. When using the JSON file you can reproduce the bug starting from step 10.

    Atlassian JIRA | 4 months ago | Vinicius Fontes [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: Status To Do cannot be found in JIRA neither by name and id

    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

      Cannot find status with id 'closed'.

      at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.checkStatus()
    2. com.atlassian.jira
      DefaultJiraDataImporter.doImport
      1. com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.checkStatus(ExternalUtils.java:214)
      2. com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:183)
      3. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:896)
      4. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:764)
      5. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:390)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    5. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      2 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames
    7. Spring OSGi Core
      ServiceTCCLInterceptor.invoke
      1. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
      2. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
      2 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    9. Spring OSGi Core
      LocalBundleContextAdvice.invoke
      1. org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      5. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      5 frames
    11. com.sun.proxy
      $Proxy2540.doImport
      1. com.sun.proxy.$Proxy2540.doImport(Unknown Source)
      1 frame
    12. com.atlassian.jira
      TaskManagerImpl$TaskCallableDecorator.call
      1. com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26)
      2. com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15)
      3. com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:527)
      4. com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:490)
      4 frames
    13. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3 frames
    14. com.atlassian.jira
      ForkedThreadExecutor$ForkedRunnableDecorator.run
      1. com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:253)
      1 frame
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame