Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to automate deep clones & delete the original issue, or just transfer cards between projects?

I want to transfer issues between developers' projects automatically.

The workflow I have is:

When the issue in Project X transitions to state Y > Deep clones issue (with attachments) in Project Y > Clears assigned field.

How can I add this last step to this workflow?

Delete original issue to not mess up with sprint's story points.

2 answers

1 accepted

2 votes
Answer accepted
John Funk Community Leader Mar 17, 2021

Hi Daniela,

You could also set a value in a custom field of the original issue (or just use the transition to Y) and then create an Automation for Jira rule that deletes the original issue. That could be done when the value of the custom field changes. Or it could be done when the issue in that project transitions to Y (assuming all issues that transition to Y on that project should be deleted. 

Having said all of that, you might want to actually transition the original issue to another Done status category like Discarded or Aborted or some other name. Then set the Resolution on that transition to Obsolete or Won't Do or something like that. This would be preferred as Deleting issues will eventually get you into trouble. 

Hi @John Funk 
Is "Deep Clone" available in the free version of Jira Software Cloud?

I can't seem to find it...

Hi @Mike Clarke,

I am the product manager of Deep Clone for Jira

Deep Clone is paid app you can download in the Atlassian Marketplace. You can test it for free for 30 days.

If you have questions about Deep Clone, don't hesitate to contact our support.

Like John Funk likes this

Try IssueFactory.cloneIssueWithAllFields().

I think, it should be called by listener, not in post-function.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events