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,296,474
Community Members
 
Community Events
165
Community Groups

Automation - Clone Issue into another Project

Edited

Hi,

I tried my first setps with JIRA automation and unfortunalty it doesn't work.

First - I am the admin of the hole JIRA-instance and also of the 2 projects.

My goal is to copy a created issue in project A (A2TP) depending on a sepcific label to another project B (PNP).

I got some errors in my audit log, but the error info doesn't help me to solve the problem.

So I tried it with a easyer rule first to see, if it's a global problem. The easyer rule is:

If you created an issue in project A clone this issues to project B (without trigger the label)

But also in that really easy case I got the same errors.

Can someone help me? Maybe it's a problem with permissions between to projects?

image.png

image.png

image.png

 

regards,

Philipp

4 answers

Hi All did anyone manage to get this working - Im having the same issue with two nextgen projects where I want the transition to done on one to clone the issue on the other project ready for my test team.

Hi Philipp,

I am currently struggling with the same problem. Did you manage to get the whole thing running?

Regards 

Peter

0 votes

I am not a Jira Automation expert, but have some experiences with cloning issues between projects. There are two possible causes which come to my mind:

  • Make sure that the issue type you want to clone is also available in the target project.
  • Check if the target project has some required fields, that are not available in the source issue.

If that doesn't solve your issue and you're open to work with a Marketplace app, you could try our Jira cloud app Deep Clone for Jira.

With our app you can:

If you have questions or feedback about Deep Clone, don't hesitate to contact us.

Hi Philipp,

As it's a cross project rule (involves >1 project), you will need to change the scope of the rule (first screenshot) to A2TP and PNP. Click on the link for "global administration", update the scope and then test the rule.

Let us know how you go

Hi,

i changed the rule details <scope> to "Multiple projects" and had another test unfortunately without sucess. :-(

image.png

Like JimmyVanAU likes this

both projects are Next-Gen-Projects - could this be the reason?

Hi Philipp,

It's been a little while since I've played with automation. I've just run a few tests, and yes, it looks to be due to next gen projects.

The next gen projects appear to have the same schemes and type, though they're independent of each other behind the scenes. This allows each project admin to do what they need to do.

For you, if you've got a limited number of issue types, I'd suggest a rule with multiple if statements which clones to the specific issue type in the target project. That is, don't use "Same issue type" or "Same issue type as trigger" (both fail) under Clone action, but run an IF rule, check if issue type is task, then clone a "Task" in the other project, with more branches for Epic and Story. A little painful, but it works.

To help you with original issue, I'd suggest you raise a ticket with support https://support.atlassian.com and reference this conversation :) Let us know how you go

Like Yana Povar likes this

thank you Jimmy, I will try it.

Atlassian support request is already open since yesterday with link to this conversation here. :)

Like JimmyVanAU likes this

Hi Philipp, 

Was this ever solved with Atlassian? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,564 views 37 45
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