How to bulk import Components into JIRA

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

This article discusses how you can import multiple components into JIRA.

Solution

The in-built CSV Issue Import functionality can be used to bulk-import components into JIRA. This method will only import the Component Names. If you need to add Component Description as well, you could use the JIRA REST API.

Option 1

  1. Select the required JIRA project.
  2. Create a temporary issue which you would use for the import. You can provide a summary like "Issue for importing components.

  3. Create a CSV file with multiple lines using the same Issue Key, same Issue Summary and different Component Names on different lines.

    Key,Summary,Components
    TEST-100,Issue for importing components,New Component 1
    TEST-100,Issue for importing components,New Component 2
    TEST-100,Issue for importing components,New Component 3
    TEST-100,Issue for importing components,New Component 4
    TEST-100,Issue for importing components,New Component 5
    TEST-100,Issue for importing components,New Component 6
    TEST-100,Issue for importing components,New Component 7
  4. Use the JIRA Administration > System > (left-side menu) Import & Export > External System Import to import the CSV.
  5. Map the fields as required and complete the import.

  6. Delete the temporary issue.

Option 2

  1. Create a CSV file having a single line with the multiple components as this example. In this case it would create a new issue with all the components.

    Summary,Component,Component,Component
    Issue for importing components,New Component 16, New Component 17, New Component 18
  2. Use the JIRA Administration > System > (left-side menu) Import & Export > External System Import to import the CSV.

  3. Map the fields as required and complete the import.

  4. Delete the temporary issue with the Summary as in the CSV file.

Last modified on Apr 19, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.