Failed to import jira issue from standalone jira to on demand instance by CSV

Importing failed because of one custom field is required. But I checked the this field .It dose exists in the csv file and have the valid value.

Bellowing is the error log

#####Detail Error Log#######################

2014-10-29 15:04:23,885 INFO - Importer started!
2014-10-29 15:04:23,885 INFO - Engine is running in Import mode
2014-10-29 15:04:23,887 INFO - All issues will be imported to project: Yangzi (YANGZI)
2014-10-29 15:04:23,887 INFO - Creating issue: ExternalIssue{externalId=autoid-7077618510165945860, summary=Import issue, issueType=Bug}
2014-10-29 15:04:23,897 WARN - Cannot add custom field value: null
java.lang.NullPointerException
	at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CFValueHandlerMultiple.handleOptionsHierarchy(CFValueHandlerMultiple.java:76)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CFValueHandlerMultiple.prepareCustomFieldValue(CFValueHandlerMultiple.java:40)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CustomFieldValueFactory.prepareRawValueForCustomField(CustomFieldValueFactory.java:63)
	at com.atlassian.jira.plugins.importer.imports.bulkcreate.BulkCreateCustomFieldsHelper.prepareValueForCustomFields(BulkCreateCustomFieldsHelper.java:47)
	at com.atlassian.jira.plugins.importer.imports.bulkcreate.BulkCreateDataImporter.handleCustomFields(BulkCreateDataImporter.java:351)
	at com.atlassian.jira.plugins.importer.imports.bulkcreate.BulkCreateDataImporter.externalIssueToInputParams(BulkCreateDataImporter.java:310)
	at com.atlassian.jira.plugins.importer.imports.bulkcreate.BulkCreateDataImporter.runImporterEngine(BulkCreateDataImporter.java:149)
	at com.atlassian.jira.plugins.importer.imports.bulkcreate.BulkCreateDataImporter.doImport(BulkCreateDataImporter.java:114)
	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$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:253)
	at java.lang.Thread.run(Thread.java:662)
2014-10-29 15:04:23,898 WARN - Cannot add value to Custom Field [ Found By ]. Value [ {null=Beta test} ] cannot be found or is in incorrect format
2014-10-29 15:04:23,928 ERROR - Issue can't be created due to the error/s [ Found By is required. ]

1 answer

Hi zhe,

It seems to be related with an invalid value to one of your custom fields, the "Found By", as you can see here:

2014-10-29 15:04:23,898 WARN - Cannot add value to Custom Field [ Found By ]. Value [ {null=Beta test} ] cannot be found or is in incorrect format
2014-10-29 15:04:23,928 ERROR - Issue can't be created due to the error/s [ Found By is required. ]

You can either check what's the expect field value in your project, or if there's any other constraint that prevents this field to be correctly loaded.

 

Hope it helps! laugh

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot