Forums

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

Issue Cloning via Automation

marcin_trzcinski
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!
February 22, 2024

I've created 2 identical projects for purpose of this exercise and i'm trying to run issue cloning from project A to B, every time when issue is created in project A.

I've red all articles i could about issue types and other dependencies but the error remains the same: "

Can not create issue in project/issue type
10159/10523"
In next steps i want to update description of issues from project A to B whenever it is changed but first of all i need cloning.
The projects are team-managed projects. Please help me to make it work!
Regards,
Marcin. 

2 answers

1 accepted

1 vote
Answer accepted
John Funk
Community Champion
February 22, 2024

Hi Marcin - Welcome to the Atlassian Community!

Issue Types (like pretty much all objects/configurations) in Team Managed projects are unique to that project by design. So Task issue type in Project A is not the same as Task issue type in Project B. They have different issue type IDs. 

So you can't do the automation using same issue type in your clone. But if you create a series of IF/ELSE statements for each issue type then it will work. 

That looks like this. If Issue Type = Task then do you clone but actually select Task as the value for the Issue type. Next grouping, If issue type = Epic, then clone to Issue Type = Epic. 

Hopefully you won't have too many of these to have to cycle through. 

Good luck!

marcin_trzcinski
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!
February 23, 2024

Thank You. It worked.

Like • John Funk likes this
John Funk
Community Champion
February 23, 2024

Great. Glad to hear.

0 votes
Luka Hummel - codefortynine
Atlassian Partner
February 23, 2024

Hi @marcin_trzcinski

If you decide that 'IF/ELSEing' through potential issue types is too much of a hassle, or you want to copy custom field values when cloning your issues, you might want to try our app Deep Clone for Jira.

Deep Clone can clone issues between different team-managed projects, and can also clone issues between team-managed and company-managed projects.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events