This article explains the way to clone a batch of tickets that are based on a shared component in Jira Command Line Interface app.
...
- Create a component in Jira instance, for example, Test-componentTestComponent.
Provide the below action command
to fetch all tickets based on the component name
If you wantalong with the JQL parameter to clone batch of issues
and thosethat are based on a component
then you give the below action command along with the jql parameter..
comp2Code Block language text title cloneIssues --action cloneIssues --jql "project = projectkey and component =
TestComponent"
The above command will clone all the jira issues based on the jql results. If you have 2 tickets for the
jqlJQL 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. |