Forums

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

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

Daniela Oliveira March 17, 2021

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 Champion
March 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. 

Mike Clarke
Contributor
April 18, 2021

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

I can't seem to find it...

Marlene Kegel - codefortynine
Atlassian Partner
April 19, 2021

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
0 votes
Ivan Shkabara March 17, 2021

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
TAGS
AUG Leaders

Atlassian Community Events