How do I copy comments to a cloned issue created in another project?

cristhian.diaz June 15, 2023

Hi community,

 

I need to set up a rule to copy comments made from an issue in certain project to a cloned one in another project. I have tried many resources I have found but nothing have worked yet. Does it needs to be created as a global rule?

2 answers

0 votes
Thibaut Subra _Elements_
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 19, 2023

Hi @cristhian.diaz 

If you don't mind using third party app, I'm sure our Copy & Sync application will help you do that.

Basically, our app allows you to copy and synchronize issues with part or all fields, comments, attachments and so on. In your case you can copy and synchronize comments from one issue to another (event in different projects).

If you're willing to give more information about your use case, I'd be glad to help!

Regards

0 votes
Fernando Eugênio da Silva
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 15, 2023

@cristhian.diaz 

To do this, you need to have these issues from different projects associated by some kind of link (linked issues field). If you already have that link, try something like this:

Trigger > Issue commented


Branch > Select the option "Branch rule / related issues"
Then select the option: Linked Issues > Select the types of links you are using to link these issues between the two projects. In 'Rule restricted to projects' make sure to put both projects, this needs to be a global rule


Still inside the Branch, add an Action > Comment Issue
Inside the issue comment field, use the following variables to copy the comments:


Comment: {{triggerIssue.comment.last.body}}


Comment author: {{triggerIssue.comment.last.author.displayName}}

Regards,

Fernando

cristhian.diaz June 15, 2023

Yes, indeed the two issues are linked. I'll tried what you suggest and let you know. Thanks!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events