Matching Exported Issue Data to Update JIRA Projects with JIRA Importers Plugin
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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
Introduction
It is sometimes necessary to run exports out of multiple bug trackers in order to bulk-update JIRA issues with the JIRA Importers Plugin (JIM). Some examples would be:
- The JIRA Importers Plugin functionality Import from Bugzilla is not compatible with all fields generated by Bugzilla
- Rolling back a JIRA update while retaining changes made post-update
In such cases, existing JIRA issues need to be updated with new data (new fields, updated existing fields, etc.). This article describes processes by which you can make these types of changes.
General Information
The JIRA Importers Plugin is used for two purposes - importing new data into JIRA as new issues and updating existing JIRA issues with modified data.
In order to update existing JIRA issues, it is important to note that the file to be imported must contain, at the least, columns containing the following data to match existing issues:
- Issue Key
- Summary
Furthermore, the import file needs to be arranged such that issue key is the first column in the file.
This data is required, because it is how the Importers Plugin maps CSV data to JIRA issues.
Example Procedure
These steps are written using the example of updating issues in an instance of JIRA previously populated with Bugzilla data.
Generating Exports
- Generate CSV export(s) from Bugzilla containing:
- bug_id
- short_short_desc
- Any field(s) you want to update into JIRA
- Generate Excel export(s) from JIRA containing:
- Issue Key
- Custom field associated with bug_id from Bugzilla
- Summary
By default, JIRA is set to limit Excel exports to 1000 Issues due to high memory usage. This setting can be changed but is ultimately limited by the amount of memory allocated to your Java Virtual Machine.
Appending CSV File
Process Overview
- Open CSV and XLS files
- Sort all data within both files by a common column
- Copy/paste desired columns to create a complete file
- Save as CSV
- Import to JIRA