Unexpected failure occurred while importing from CSV file

Hi Support Team ,

We are evaluating JIRA-Agile for our project Management therefore we are importing project data from CSV file . We have followed the instructions but finally we encountered with” Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state”

Following are the fileds in CSV file

Summary

Priority

Description

Story Points

Assigned Sprint

Issue Type

Resource

Status

Start Date

End Date

Resolution

Here is the detaild error log


2014-08-26 11:20:03,902 INFO - Import started by Mbudhia using com.atlassian.jira.plugins.importer.imports.csv.CsvDataBean
Here is the detailed error log

2014-08-26 11:20:04,184 INFO - ------------------------------

2014-08-26 11:20:04,185 INFO - Importing: Users

2014-08-26 11:20:04,185 INFO - ------------------------------

2014-08-26 11:20:04,185 INFO - Only new items will be imported

2014-08-26 11:20:04,186 INFO - 4 users associated with import. 0 new users were created and imported as active.

2014-08-26 11:20:04,186 INFO - ------------------------------

2014-08-26 11:20:04,186 INFO - Finished Importing : Users

2014-08-26 11:20:04,187 INFO - ------------------------------

2014-08-26 11:20:04,187 INFO - 0 users successfully created.

2014-08-26 11:20:04,187 INFO - Retrieving projects...

2014-08-26 11:20:04,188 INFO - Project ExternalProject[jiraId=<null>,id=<null>,externalName=<null>,name=<null>,key=TP,url=<null>,lead=<null>,description=<null>,projectCategoryName=<null>,avatarUrl=<null>,assigneeType=<null>,versions=<null>,components=<null>,issues=<null>,workflowSchemeName=<null>] already exists. Not imported

2014-08-26 11:20:04,188 INFO - ------------------------------

2014-08-26 11:20:04,188 INFO - Importing: Versions

2014-08-26 11:20:04,188 INFO - ------------------------------

2014-08-26 11:20:04,189 INFO - Only new items will be imported

2014-08-26 11:20:04,189 INFO - ------------------------------

2014-08-26 11:20:04,189 INFO - Finished Importing : Versions

2014-08-26 11:20:04,189 INFO - ------------------------------

2014-08-26 11:20:04,189 INFO - ------------------------------

2014-08-26 11:20:04,190 INFO - Importing: Components

2014-08-26 11:20:04,190 INFO - ------------------------------

2014-08-26 11:20:04,190 INFO - Only new items will be imported

2014-08-26 11:20:04,190 INFO - ------------------------------

2014-08-26 11:20:04,190 INFO - Finished Importing : Components

2014-08-26 11:20:04,191 INFO - ------------------------------

2014-08-26 11:20:04,191 INFO - Retrieving custom fields...

2014-08-26 11:20:04,191 INFO - ------------------------------

2014-08-26 11:20:04,191 INFO - Importing: Issues

2014-08-26 11:20:04,191 INFO - ------------------------------

2014-08-26 11:20:04,191 INFO - Only new items will be imported

2014-08-26 11:20:04,208 INFO - Importing issue: ExternalIssue{externalId=autoid-1738234780118688781, summary=Device Management, issueType=Story Point}

2014-08-26 11:20:04,243 INFO - ------------------------------

2014-08-26 11:20:04,243 INFO - Finished Importing : Issues

2014-08-26 11:20:04,243 INFO - ------------------------------

2014-08-26 11:20:04,243 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state

java.lang.NoClassDefFoundError: com/atlassian/greenhopper/customfield/epiclink/EpicLinkCFType

at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CFValueHandlerEpicLink.canHandleCustomField(CFValueHandlerEpicLink.java:42)

at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CustomFieldValueFactory.prepareValueForCustomField(CustomFieldValueFactory.java:52)

at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CustomFieldsUtil.setCustomFieldValueForIssue(CustomFieldsUtil.java:182)

at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importExternalCustomFields(DefaultJiraDataImporter.java:1203)

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

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

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

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:253)

at java.lang.Thread.run(Unknown Source)

2014-08-26 11:20:04,267 INFO - No issues need to be reindexed.

Looking for the solution

Regards

Manish

1 answer

0 votes

Hi Manish,

This is actually a bug in the JIRA Importers Plugin, see:

Upgrading it to the latest available version should fix it. smile

Cheers,
Matheus

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

160 views 3 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you