Skip to end of banner
Go to start of banner

How to clone batch of tickets based on a shared component using the Jira Command Line Interface (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 9 Next »

This article explains the way to clone a batch of tickets that are based on a shared component using Jira Command Line Interface app. 

Instructions

  1. Create a component in your Jira instance.
  2. Provide the below action command along with the JQL parameter to clone issues.

    1. To clone a batch of issues into the same project, please give the below action command. 

      Clone into the same project
      --action cloneIssues --jql "project = projectkey and component = TestComponent"

      The above command will clone all the Jira tickets based on the JQL results. For example, if you have 2 tickets for the JQL results then these two issues will be cloned.

    2. To clone a batch of tickets from one project to another project, please give the below action command.

      Clone into other project
      --action cloneIssues --project "secondprojectkey" --jql "project = firstprojectkey AND component = SecondComponent" --autoComponent
It is recommended to test this scenario in a test environment before deploying it in production.
  • No labels