/
How to add multiple issues to different sprints using Jira Command Line Interface (CLI)
How to add multiple issues to different sprints using Jira Command Line Interface (CLI)
This article explains how to add multiple issues to different sprints using Jira Command Line Interface (CLI).
Instructions
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 is used to list issues to be added and id is for the sprint IDs. As an example, consider the following:
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 the addIssuesToSprint action.
- It is recommended to test this scenario in a non-production environment.
- Run the action with --simulate parameter to verify the behavior before deploying on a production environment.
Related content
Use commands (CLI) to create and update Jira issues
Use commands (CLI) to create and update Jira issues
More like this
Create a Jira Issue from Salesforce with Jira Issues (NextGen)
Create a Jira Issue from Salesforce with Jira Issues (NextGen)
More like this
How to work with issue data in different contexts
How to work with issue data in different contexts
More like this
issueInSprint
issueInSprint
More like this
issueInStartedSprint
issueInStartedSprint
More like this
addIssuesToSprint
addIssuesToSprint
More like this