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
4,298,376
Community Members
 
Community Events
165
Community Groups

How can I automate the clone of issues with attachments to another project?

I need to move issues from the Designer's board to the Developer's project automatically.

I would like to create a rule that does the following:


Designer adds issue to Done column > Deep clones issue (with attachments) to developers' project backlog.

1 answer

1 accepted

2 votes
Answer accepted
John M Funk Community Leader Dec 18, 2020

Hi Daniela - Welcome to the Atlassian Community!

You currently cannot do that with Automation for Jira (that being that you cannot use Deep Clone with the Automation for Jira tool).

But you can call Deep Clone using a post function in your workflow on the transition to Done. That's what we do.

Thank you  @John M Funk 

Could you please tell me the steps to do it so I can try it?

John M Funk Community Leader Dec 18, 2020

Sure - Go to Settings > Issues > Workflows

Search for the Workflow and click on Edit

Click on the transition where you would like to do the Deep Clone. This will popup a  box to the right. Click on Post functions

Then Click on Add Post function

Then Select Deep Clone and follow the prompts there. 

Like # people like this

Thanks for helping out @John M Funk 

I did that but for some reason, I can't find the deep clone in the developers' project. 

When I transition the ticket to the Done Column in the Designers' board, does it deep link automatically to the Developers' board? Do I need to take some additional action?

Nevermind! It worked @John M Funk 

I didn't hit publish, that's why.

 

Thank you so much!

Like John M Funk likes this

Sorry, I have another question now. How could I set the deep clone to be unassigned?

John M Funk Community Leader Dec 18, 2020

You could add a post function on the Create transition of the workflow to clear out the Assignee field. But that will override any value put in at create time. That works for us, because we do not assign issues at create time. 

Other than that, you will probably have to add an Automation rule to clear the Assignee and add the appropriate conditions you want. 

Like # people like this

Thank you sooooo muchhh @John M Funk 

Your comments were incredibly helpful!!

Like John M Funk likes this
John M Funk Community Leader Dec 18, 2020

Great - glad I could help :-)

@John M Funk Hello! Hope you're well!

When I transition an issue from one project to another through post functions in a workflow to keep deep cloning, what happens to the original issue?

Is there any way to delete the original issue permanently to avoid messing with the story points of a sprint?

 

Thanks in advance :)

John M Funk Community Leader Mar 17, 2021

Hi @Daniela Oliveira  - See my answer on your other post.  :-)

@John M Funk  Thanks for your help.  

 

Go to Settings > Issues > Workflows

Search for the Workflow and click on Edit

Click on the transition where you would like to do the Deep Clone. This will popup a  box to the right. Click on Post functions

Then Click on Add Post function

Then Select Deep Clone and follow the prompts there. 

I don't see Deep Clone in the post function. I am using Jira Cloud. snipping.PNG

Like John M Funk likes this
John M Funk Community Leader Jul 09, 2021

See my update on your other post.  :-)

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

386 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you