Excel does not properly render line breaks when importing CSV files coming from the Jira application

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When importing into Excel a CSV export generated from a Jira issue search, columns that include line breaks are not properly rendered. Instead of being included in the same cell, the lines are spread across multiple cells:

(Auto-migrated image: description temporarily unavailable)

Environment

  • Jira Server / Data Center on any version

  • Microsoft Excel on any version

Cause

This issue is not caused by the actual CSV export generated by Jira but instead it is caused by a limitation with Microsoft Excel. Basically, if a field in the CSV file contains line breaks, the Excel import is unable to identify that these line breaks should be combined into 1 single cell, rather than multiple cells.

You can find more information about this limitation in the discussions linked below:

Solution

Solution 1

One option is to use a different tool than Excel to open the CSV file.

For example:

  • You can use the Apple Numbers application to open the CSV file

    (Auto-migrated image: description temporarily unavailable)
  • Or you can import the CSV in a Google Sheet:

    (Auto-migrated image: description temporarily unavailable)

Solution 2

If using a different tool than Excel is not an option, you can use Excel's "Get Data (Power Query)" functionality to import the CSV file, by following the steps below:

  • Open a fresh empty Excel sheet

  • Go to Data > Get Data (Power Query):

    (Auto-migrated image: description temporarily unavailable)
  • Select Text/CSV:

    (Auto-migrated image: description temporarily unavailable)
  • Select the CSV file to be imported:

    (Auto-migrated image: description temporarily unavailable)

You can see below how the data will be rendered by using this method:

(Auto-migrated image: description temporarily unavailable)

ℹ️Please note that this solution is not ideal: even though the description is located within the same Excel cell, the actual line breaks are removed and all the lines are rendered as one single line.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.