Importing Story Issue type from CSV Fails

Shawn Danisa December 12, 2017

I am importing stories from one JIRA instance to instance.  I successfully managed to import Epics, Features and Task., but fail when it comes to stories.

Below is the error:

2

2017-12-12 07:13:42,220 INFO - Only new items will be imported

2017-12-12 07:13:42,407 INFO - Importing issue: [externalId='autoid-572890419377110708', summary='Further enhancement of the video capability, plus also surfacing it higher in the up in the journey.']

2017-12-12 07:13:42,548 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:42,598 INFO - Reindexing took 48 ms.

2017-12-12 07:13:42,598 INFO - Importing issue: [externalId='autoid-2844679876978400038', summary='Business wants to remove the My Portable possessions vertical on the insure home page to free up a space so that both My Moments and Sell Law4U can be placed on the Insure Vertical']

2017-12-12 07:13:42,725 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:42,765 INFO - Reindexing took 39 ms.

2017-12-12 07:13:42,765 INFO - Importing issue: [externalId='autoid-640433847744888824', summary='Create a new product page for Instant Life under Absa Insurance']

2017-12-12 07:13:42,775 ERROR - Error importing issue [externalId='autoid-640433847744888824', summary='Create a new product page for Instant Life under Absa Insurance']

com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: Create a new product page for Instant Life under Absa Insurance

        at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:200)

        at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:924)

        at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:797)

        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:458)

        at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:426)

        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)

Caused by: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: Team is required.

        at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:512)

        at com.atlassian.jira.issue.managers.RequestCachingIssueManager.createIssue(RequestCachingIssueManager.java:204)

        at sun.reflect.GeneratedMethodAccessor34741.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)

        at com.sun.proxy.$Proxy49.createIssue(Unknown Source)

        at sun.reflect.GeneratedMethodAccessor34741.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

        at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)

        at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

        at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)

        at com.sun.proxy.$Proxy1214.createIssue(Unknown Source)

        at com.atlassian.jira.plugins.importer.compatibility.CompatibilityUtil70.createIssue(CompatibilityUtil70.java:231)

        at com.atlassian.jira.plugins.importer.compatibility.CompatibilityBridgeUtils.createIssue(CompatibilityBridgeUtils.java:125)

        at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:192)

        ... 12 more

Caused by: [InvalidInputException: [Error map: [{}]] [Error list: [[Team is required.]]]

        at com.googlecode.jsu.util.ValidatorErrorsBuilder.process(ValidatorErrorsBuilder.java:45)

        at com.googlecode.jsu.workflow.validator.GenericValidator.validate(GenericValidator.java:79)

        at com.atlassian.jira.workflow.SkippableValidator.validate(SkippableValidator.java:45)

        at com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:1466)

        at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1167)

        at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:606)

        at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:742)

        at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:506)

        ... 41 more

 

2017-12-12 07:13:45,155 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:45,212 INFO - Reindexing took 56 ms.

2017-12-12 07:13:45,212 INFO - Importing issue: [externalId='autoid-9021245205377592358', summary='INTERLOCKED: EPIC - WIMI - Insurance Quick quotes  - iDirect']

2017-12-12 07:13:45,343 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:45,382 INFO - Reindexing took 38 ms.

2017-12-12 07:13:45,382 INFO - Importing issue: [externalId='autoid-2138575674873100855', summary='INTERLOCKED: EPIC -  WIMI Investments.co.za - Build']

2017-12-12 07:13:45,488 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:45,523 INFO - Reindexing took 35 ms.

2017-12-12 07:13:45,523 INFO - Importing issue: [externalId='autoid-4144777697125058744', summary='EPIC: WIMI - Virtual Advisor 45-day changes']

2017-12-12 07:13:45,654 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:45,703 INFO - Reindexing took 48 ms.

2017-12-12 07:13:45,704 INFO - Importing issue: [externalId='autoid-8554711269704561422', summary='INTERLOCKED: EPIC -  WIMI Wealth Journey on COZA - Investigation']

2017-12-12 07:13:45,833 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:45,884 INFO - Reindexing took 50 ms.

2017-12-12 07:13:45,884 INFO - Importing issue: [externalId='autoid-5887670055159285668', summary='INTERLOCKED: EPIC -  WIMI Implement the Sell Law4U client journey']

2017-12-12 07:13:46,008 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:46,055 INFO - Reindexing took 46 ms.

2017-12-12 07:13:46,056 INFO - Importing issue: [externalId='autoid-3259663680624877328', summary='INTERLOCKED: EPIC - AIC & iDirect Insurance journey rework']

2017-12-12 07:13:46,207 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:46,248 INFO - Reindexing took 40 ms.

2017-12-12 07:13:46,248 INFO - Importing issue: [externalId='autoid-558069245791373788', summary='INTERLOCKED EPIC: WIMI MyMoments consolidation - Part of Base2 Website Migration']

2017-12-12 07:13:46,366 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:46,410 INFO - Reindexing took 43 ms.

2017-12-12 07:13:46,410 INFO - Importing issue: [externalId='autoid-8769745983900792566', summary='INTERLOCKED EPIC: WIMI - Online Unit Trust applications URL change']

2017-12-12 07:13:46,524 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:46,570 INFO - Reindexing took 45 ms.

2017-12-12 07:13:46,570 INFO - Importing issue: [externalId='autoid-4854573664448514769', summary='Epic: WIMI - Investments.co.za - Investigation & Design Sign-off']

2017-12-12 07:13:46,725 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:46,762 INFO - Reindexing took 36 ms.

2017-12-12 07:13:46,762 INFO - Importing issue: [externalId='autoid-4974055644779773888', summary='WIMI - Virtual Advisor (WPS-16)']

2017-12-12 07:13:46,970 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:47,039 INFO - Reindexing took 68 ms.

2017-12-12 07:13:47,039 INFO - Importing issue: [externalId='autoid-7772983989346951701', summary='WIMI Moments Starting a Job (WPS-690)']

2017-12-12 07:13:47,184 INFO - Reindexing last 1 issues imported ...

2017-12-12 07:13:47,227 INFO - Reindexing took 41 ms.

2017-12-12 07:13:47,229 INFO - 26 issues successfully created

2017-12-12 07:13:47,229 INFO - ------------------------------

2017-12-12 07:13:47,229 INFO - Finished Importing : Issues

2017-12-12 07:13:47,229 INFO - ------------------------------

2017-12-12 07:13:47,434 INFO - ------------------------------

2017-12-12 07:13:47,434 INFO - Importing: Issue Links & Subtasks

2017-12-12 07:13:47,434 INFO - ------------------------------

2017-12-12 07:13:47,435 INFO - Only new items will be imported

2017-12-12 07:13:47,435 INFO - ------------------------------

2017-12-12 07:13:47,435 INFO - Finished Importing : Issue Links & Subtasks

2017-12-12 07:13:47,435 INFO - ------------------------------

2017-12-12 07:13:47,435 INFO - No issues need to be reindexed.

 I tried all sorts of things like changing the summary, changing the default Issue type and still no luck. Please be so kind to assit :(

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2017

There are lines in your log saying

Error occurred while creating issue through workflow: Team is required.

So you need to give it data for the Team field

Shawn Danisa December 12, 2017

I mapped the Team field as well but still no luck

Suggest an answer

Log in or Sign up to answer