Versions Compared

Key

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

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

...

  1. Create a component in Jira instance, for example, Test-componentTestComponent.
  2. Provide the below action command

    to fetch all tickets based on the component name
    If you want

    along with the JQL parameter to clone batch of issues

    and those

    that are based on a component

    then you give the below action command along with the jql parameter.

    .

    Code Block
    languagetext
    titlecloneIssues
    --action cloneIssues --jql "project = projectkey and component = 
    comp2
    TestComponent"

    The above command will clone all the jira issues based on the jql results. If you have 2 tickets for the

    jql

    JQL results then these two issues will be cloned.



Info
It is recommended to test this scenario in a test environment before deploying it in production.