We created couple of custom issue type in JIRA 6.2.7, then import a CVS file which includes custom issue type, got error like:
Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state java.lang.NullPointerException at com.atlassian.jira.plugins.importer.imports.importer.impl.customfields.CustomFieldsUtil.createOptionIfDoesNotExist(CustomFieldsUtil.java:215)
But if we import default issue type within in JIRA, like Bug, New Feature, then it works well.
Make sure that you have these custom issue types for this project that you're trying to import the CSV file.
If you have, try to import with the default issue type, then perform a bulk edit, moving to the custom issue type.
I recently ran into this issue and found we needed to correct the Issue Type associations for pre-existing Custom Fields the CSV was trying to populate. Here is the KB article with resolution steps:
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 ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot