CSV Import Fails due to Illegal Group Reference Error
Symptoms
When importing JIRA issues via CSV file, after the field mappings page, the user encounters a 500 error page as well as the below stack trace.
The following appears in the atlassian-jira.log
:
2013-06-04 16:05:01,494 http-8502-8 ERROR [500ErrorPage.jsp] Exception caught in 500 page Illegal group reference
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:713)
at java.util.regex.Matcher.replaceFirst(Matcher.java:861)
at java.lang.String.replaceFirst(String.java:2146)
at com.atlassian.jira.plugins.importer.imports.csv.web.CsvFieldMappingsPage.doValidation(CsvFieldMappingsPage.java:96)
Cause
Special characters such as the $ in the import file may not be parsed correctly and can cause the IllegalArgumentException.
Resolution
Edit the CSV file and remove any $ in the column headings and reimport the CSV file.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.