-
Bug
-
Resolution: Done
-
Low
-
7.2.0, 7.3.0
-
7.02
-
14
-
Severity 2 - Major
-
6
-
Summary
Exported CSV file from JIRA with issues that contain multi-line description can't be properly imported into Microsoft Excel.
Only way to open CSV files with multi-lines in Microsoft Excel is to do so with "Open" option, which doesn't recognize UTF-8 encoding and can expect different separator than comma (,) depending on region set in operating system.
CSV export from JIRA currently can't be customized. It is always encoded in UTF-8 and has separators fixed to comma (,).
Environment
- Tested with Microsoft Excel 2016 for MacOS 10.11.1
- JIRA 7.3.0
Steps to reproduce
- Create new issue that has:
- Multi-line description
- Some regional characters (e.g. žéíýšáčúřÚňěČąęćśźżłóń) in description or summary
- From the issue navigator, export the issue to a CSV file (e.g. Export > CSV (All fields))
- Case 1:
- Open CSV in Microsoft Excel 2016.
- Case 2:
- Import CSV into Microsoft Excel 2016
- Select delimited columns
- Select UTF-8 as encoding
- Select comma as delimiter
- Import CSV into Microsoft Excel 2016
Expected result
In at least one case Excel should show data in proper cells while rendering correctly all of regional characters.
Actual result
Case 1: Data will go to proper cells if region in operating system is set to one that uses commas as delimiter in CSV. UTF-8 encoding is always not recognized.
Case 2: New lines in multi-lined text split rows making data go to improper cells
Workarounds
Workaround 1
Open CSV file in other spreadsheet software (e.g. LibreOffice or Google Spreadsheets) and export it to XLS or XLSX file
Workaround 2
- At the beginning of the CSV file put
sep=,
- Use some external tool to change file's encoding to some that would be recognized by Excel
- Open new file directly into Excel
Workaround 3
- Open the CSV file with Notepad (default text editor in Windows)
- Click File -> Save as -> Ensure Encoding is UTF-8 -> Save
- Open the new file with Excel
Alternative solutions
Plug-in Better Excel Plugin provides native Excel export via XLSX files.
Reference
Exported CSV does not display properly in Excel that contains non-English characters
- is duplicated by
-
JRASERVER-64191 Non-english Characters Exported via CSV not Rendered Correctly in Excel
- Gathering Impact
- is related to
-
JRASERVER-62517 Comma in a text field breaks CSV export
- Closed
- mentioned in
-
Page Loading...