Skip to end of banner
Go to start of banner

Add multiple issues to different sprints using Jira Command Line Interface (CLI)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This article explains how to add multiple issues to different sprints using Jira Command Line Interface (CLI).

Instructions

  1. Create a CSV file with two columns (with titles jql and id).
    jql is for the list of issues to add and id is for the sprint ids as shown below: 
  2. Combine runFromCsv and addIssuesToSprint actions with file parameter to add multiple issues to different sprints.

    --action runFromCsv --file "sprints.csv" --common "--action addIssuesToSprint"

    This example works because the CSV file contains the data that is needed for addIssuesToSprint action with relevant parameters.


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

  • No labels