Error - automation to clone issue.

Karla Garcia
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!
September 18, 2024

Hi!

I am trying to:

- Once an issue is created in Project A -> Clone to project B.

Project A and B are both company managed;

Error: Failed to fetch fields for project/issue type;

 

When I try to clone to a team-managed project, works perfectly.

Thanks in advance for any support :)

6 answers

1 vote
Derek Shore November 15, 2024

I just ran into this exact same issue. For me the problem was that I was setting the issue type to an old issue type that was no longer available in the destination project. Might double check that.

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2024

Hi @Karla Garcia -- Welcome to the Atlassian Community!

Without seeing your complete rule, I hypothesize it uses the Issue Created trigger.

If so, one possible cause of that symptom is a timing problem: the Issue Created trigger can fire so quickly some data may not be available to the rule yet.  This can cause missing information, and occasionally rule errors.

The fix is to always add the Re-fetch Issue action immediately after the Issue Created trigger, and before any other rule steps.  Please try adding that and re-test the rule.

Kind regards,
Bill

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 18, 2024

Hello @Karla Garcia 

Welcome to the Atlassian community.

Can you please provide images showing your entire Automation Rule, and the details from the rule execution audit log for the execution that failed?

What are the project types for A and B when the rule fails? Get that information from the Type column on the View All Projects page under the Projects menu.

0 votes
Mark Higgins
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 28, 2025

Hi @Karla Garcia 

I've just come across the same error, and it was indeed that the 'Issue Type' of Service Request from an older project, was different then the project I was cloning to of '[System] - Service Request.

Cheers

 

mark

0 votes
Luka Hummel - codefortynine
Atlassian Partner
September 24, 2024

Hi @Karla Garcia and welcome to the community!

For your automation to clone issues from Project A to Project B, consider using our app Deep Clone for Jira. Deep Clone allows you to clone issues, including attachments, comments, and custom fields, across projects with full customization. It ensures seamless cloning even between different project types. This might help avoid the “Failed to fetch fields” error by offering a more robust cloning solution.

You can also try adding a delay or re-fetching the issue, as suggested by others.

0 votes
Clara Belin-Brosseau_Elements
Atlassian Partner
September 23, 2024

Hello @Karla Garcia

 

Another way to automatically clone issues is to use our app Elements Copy & Sync.

It allows you to clone and sync a full hierarchy of issues with all their content (summary, description, custom fields, comments, attachments, etc).

You can check the guide here.

 

The app is for free during 30 days (and it stays free under 10 users).

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events