Skip to end of banner
Go to start of banner

How to bulk clone issues based on a shared component using the Jira CLI app

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 12 Next »

This article explains how to clone a batch of Jira issues, that are based on a shared component, using Jira Command Line Interface app. 

Instructions


  1. You can clone issues either to the same project or to a different project.

    1. To clone a batch of issues into the same project, please use the below action command with the jql parameter. Here in the below example, zjcli is the project_key and TestComponent is the Component name. This command clones all the Jira tickets based on the JQL results. For example, if there are two tickets returned by the JQL, those two tickets are cloned.

      Clone to the same project
      --action cloneIssues --jql "project = zjcli and component = TestComponent"
    2. To clone a batch of tickets from one project to another project, please use the below action command.

      Clone to different project
      --action cloneIssues --project "zjcli" --jql "project = zjiracli AND component = TestComponent" --autoComponent
  • You need to execute the commands from the CLI client location. 
  • It is recommended to test this scenario in a test environment before deploying it in production.
  • No labels