Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Linking a cloned issue to the original via automation

Neil Womack
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!
June 26, 2024

Hello, I am trying to configure a rule that automatically clones a ticket to another project, assigns the clone to the same user as the original and then links the cloned ticket back to the original. I have it working except for the last step, as it never links back to the original. Here is my automation:

automation.jpg

From researching the other posts in this forum I have verified that the rule is scoped for multiple projects and includes both the source and destination projects in the scope.

I have also confirmed that the Link issues outlined in the last step of the automation exist in the source project (below):

automation2.jpg

The issue is automatically cloned with the proper assignee, but still does not link back to the original issue. Is there something else I'm missing?

2 answers

0 votes
Clara Belin-Brosseau
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 19, 2024

Hello @Neil Womack

 

If you're seeking for an easy way to clone an issue to another project and link them together while keeping the same assignee, you can try our app Elements Copy & Sync that 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 our guide here.

Elements Copy & Sync - Copy issue from one project to another.png

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

0 votes
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.
June 26, 2024

Hi @Neil Womack -- Welcome to the Atlassian Community!

After you clone the issue, add a branch to Most Recently Created Issue before the Link Issue action.  That will change the context to the new issue, rather than the trigger one.

  • trigger: issue created
  • action: re-fetch issue (I recommend always adding this action after the Issue Created trigger to prevent timing problems where some data may not be ready when the rule starts.)
  • condition: assignee is ... (your check on the trigger issue assignees)
  • action: clone issue
  • branch: to most recently created issue
    • action: link issue

 

Kind regards,
Bill

Neil Womack
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!
June 27, 2024

Thank you very much Bill, that solved the problem! For anyone else who may benefit, here is the final automation:

automation3.jpg

Like Esteban Vasquez likes this
Shivani Saran September 21, 2024

Hi @Bill Sheboy I implemented this automation in same way, but this is not working for in my case

issue is getting cloned, but it is not getting linked with original issue

 

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 21, 2024

Hi @Shivani Saran -- Welcome to the Atlassian Community!

Please post images of your complete automation rule, the action where the linking occurs, and of the audit log details showing the rule execution.  Those will provide context for the community to offer suggestions.  Thanks!

Until we see those...

Are the issues all in the same Jira project or different projects?

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events