• Products
  • Documentation
  • Resources

Prepare a CSV file for import

Comma-separated value (CSV) files are text files that represent tabulated data and are supported by most systems that handle tabulated data, such as spreadsheets and databases. You can base the structure of your CSV file on the default Microsoft Excel CSV format.

When creating a CSV file that can be imported into Jira, make sure all fields are separated by commas and that any piece of content, including commas and new lines, is enclosed in quotes. Read about specific file requirements and data structure

Tips for preparing your CSV

Include a heading row with a summary field

When importing a file, the summary field is always required. It provides an overview of the issue.

The summary field is a short description of an issue that is used to provide a quick overview of what the issue is about. It is typically the first piece of information you’ll see when browsing issues. The field should be concise and descriptive and should provide enough information to understand the nature of the issue.

The CSV importer uses the file header row to determine how to map data from the file's 2nd row and beyond to fields in Jira.

If you’re importing data that includes parent and subtasks, other fields may also be required depending on the configuration of your instance. Read about creating issues and subtasks

Assign users to issues

Use email addresses when adding people as assignees, reporters, or creators to your CSV file. This will help us map them to the project and issues created. Read about importing CSV data into Jira fields

If a CSV file doesn’t contain email addresses in user fields, you can manually add email addresses to the relevant user IDs during the import.

Avoid punctuation in the header row

To prevent inaccuracies in your imports, avoid including any punctuation in the header row (apart from the commas separating each column).

Mention users in the description or comments of an issue

To use mentions in the description or comment fields of an issue, replace the user mention in your data with the following email-based mention format: [~email:user@example.com]
Once imported, the mention will be linked to the user associated with the provided email address.

Tips for structuring your CSV file

Treat special characters literally

Use double-quote marks (") around a section of text to treat any special characters in that section literally. Once this data is imported, these special characters will be stored as part of Jira's field data. Examples of special characters include carriage returns/enter characters, commas, etc.

To treat a double quote mark literally, you can add another double quote mark character:

1 "Clicking the ""Add"" button results in a page not found error"

...which, once imported, will be stored in Jira as:

1 Clicking the "Add" button results in a page not found error

Aggregate multiple values into single-issue fields

You can import multiple values into a single Jira field that accepts multiple values (e.g. Watchers, Component, Labels). To do this, your CSV file must specify the same column name for each value you wish to import to the same field. The number of column names specified must match the maximum number of values to be aggregated into the mapped field.

For example:

1 2 3 4 IssueType, Summary, Label, Label, Label, Component, Component bug, "First issue", v1, , , Component1, bug, "Second issue", v2, , , Component1, Component2 bug, "Third issue", v1, v2, v3, Component1,

In the above example, the Label and Component fields in the first issue and the Component field of the third issue will generate multiple values in the relevant field after importing.

Handle custom fields

When importing data into your business or software project you can choose to create new custom fields. Custom fields allow you to add information specific to your team's needs. You can also import data to a variety of existing custom fields created previously within your instance.

Read about creating custom fields


Still need help?

The Atlassian Community is here for you.