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. ]
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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.