CSV Import partially fails to create issues
Summary
Learn what to do when CSV External System Import raises the error "Unable to create issue: com.atlassian.jira.plugins.importer.compatibility.FixedKeyMutableIssue...".
Overview
The below error message appears during the CSV Import:
INFO - Importing issue: [externalId='<external-id>', summary=' ']
ERROR - Error importing issue [externalId='<external-id>', summary=' ']: Unable to create issue: com.atlassian.jira.plugins.importer.compatibility.FixedKeyMutableIssue@904634b
This can happen when a workflow linked to the project uses a RegEx validator on the Create transition.
During the CSV file import process, the workflow verifies whether the values of the fields match the RegEx.
If they don't, the issues' creation process fails with the above error message.
Solution
Make sure that RegEx matching values are supplied in the CSV file, and then try importing it.
Alternatively, you can turn off the RegEx validator in the workflow and proceed with the CSV import. After the data is imported, turn on the RegEx validator again.