How to update issues in bulk from a CSV file using Jira Command Line Interface (CLI)

How to update issues in bulk from a CSV file using Jira Command Line Interface (CLI)

This article explains how to update issues in bulk from a CSV file using Jira Command Line Interface (CLI).

Instructions

  1. Create a CSV file with the below columns:

    • issue refers to the issue key.

    • summary is the issue summary.

    • description is the issue description.

    • priority is the issue priority.

    • assignee refers to the issue assignee.

  2. Combine runFromCsv with the --file parameter and updateIssue action to create issues in bulk. This example works because the CSV file contains the data that is required for the updateIssue action with relevant parameters.

    --action runFromCsv --file updatessues.csv --common "--action updateIssue"

 

  • Additional columns can be added for custom fields and a list of supported custom fields have been documented in Custom Field Types.

  • It is recommended to test this scenario in a non-production environment or run the action with the --simulate parameter, to verify the behavior before deploying on a production environment.