Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Copy a issue and linked all the subtasks and linked issues to the new issue?

Amir H
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 20, 2020

Hi All,

I'm trying to initiate a process where within a specific issue i'll need to copy it as a new issue , so that all the related sub tasks and linked issues from the previous issue will be assigned under the new issue. I don't want to CLONE all the linked issues and subtasks only relate them to the new issue.

I try to initiate it through Exocet add on with no success.

Any suggestions regards the best practice to handle it?

Appreciate your help,

Thanks in advance,

Regards,

Amir

 

 

1 answer

0 votes
Reshma Begum {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 20, 2020

Hi @Amir H ,

 

With Bobswift's Jira Command Line Interface, you can clone an issue with the desired link type. Please use the action command as given below.

--action cloneIssue --issue TES-10 --link "relates"  --copyAttachments --copyComments --copySubtasks --copyEstimates --copySubtaskEstimates --copyWork

The above action will copy all the subtasks to the new issue and the existing linked issues with "relates to" link type. 

Please refer to the documentation page cloneIssue for more information on the CLI action.

 

Thanks,

Reshma

Nicolas Esteves
Contributor
July 20, 2020

Hi @Reshma Begum {Appfire}

If I understand well, your solution is to clone substaks, but he said this is not what he wants if I'm not wrong...

Hi @Amir H

Indeed, Elements Copy & Sync doesn't allow you to "transfer" subtaks from an issue to another new one.

Feel free to get back to us if you need anything else.

Kind regards,
Nicolas.

amirw6
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 20, 2020

Hi @Reshma Begum {Appfire} ,

Indeed I don't want to clone the subtasks, just reassign their parent is there's any way to initiate it through BobSwift? 

@Nicolas Esteves perhaps you can suggest another solution? 

Regards,

Amir

Nicolas Esteves
Contributor
July 20, 2020

Hi @Amir H

What you want to do is a 'Move' action of the subtask:

2020-07-20 16_40_11-Move Sub-Task - Local Jira.png

Maybe you should have a look at the Jira API to see if you can trigger this action from a script or something like that.

In the meantime, you should be able to do that manually from a subtask, or in bulk from the Issue Navigator, or even with a dedicated app (eg. https://marketplace.atlassian.com/apps/1211240/bulk-move-subtasks-for-jira).

But I'm sorry, I've no solution for now to automate this after a copy...

Kind regards,

Suggest an answer

Log in or Sign up to answer