Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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. The information specified here is used as parameters for the addIssuesToSprint action. jql 

    for

    is used to list

    of

    issues to

    add 

    be added and id is for

    sprint id as shown below

    the sprint IDs. As an example, consider the following: 
    Image Modified

  2. Combine runFromCsv and addIssuesToSprint actions with file parameter to add multiple issues to different sprints.. This example works because the CSV file contains the data that is needed for a addIssuesToSprint action with relevant parameters.

    Code Block
    themeMidnight
    --action runFromCsv --file "sprints.csv" --common "--action addIssuesToSprint"


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

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