Forums

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

Copying comments from a linked issue

Dd
Contributor
February 19, 2023

Hi,

I was trying to add to an automation rule that when I clone a ticket in JSM it will automatically copy the comments from the ticket cloned to the target.
I saw some discussions that are saying to use a smart value calle {{destinationIssue.comments}}.
I cannot find ANY documentation mentioning it.
I tried several variations but I cannot get anything out of it.
Anyone was successful with that? 

Thanks

3 answers

1 vote
Julien Peyrade _ Elements
Atlassian Partner
February 20, 2023

Hello @Dd 

If you don't mind using an add-on, Elements Copy & Sync can help you do exactly this. It's free for Cloud instances up to 10 users and has a 30 days free trial for all.

I'm the Product Manager of the app, so I can help you if you have any question. Basically, it lets you clone issues with customised options (you can clone everything, or just specific fields) and then can synchronise comments between the original issue and the clone automatically. You can also directly copy and synchronize comments between any linked issues.

I hope this helps.

Kind regards,

Julien

Dd
Contributor
February 21, 2023

Hi Julien,
I'm at the point of assessing JSM.
Once we decide - I'll look into your product as well.
Thanks 

0 votes
Luka Hummel - codefortynine
Atlassian Partner
February 21, 2023

Hi @Dd

I'm Luka from codefortynine. Our marketplace app Deep Clone for Jira is able to clone comments and even add new comments with Jira smart values when needed.
You can either use a Single Clone from the Actions Menu ··· in an issue you want to clone or use the Bulk Clone feature to clone multiple or all issues of your JSM project and configure it to include comments under Clone additional fields.
With the Clone and Edit feature, you can also use the Field Editor to add new comments while cloning and have the app dynamically set the comment text with Jira smart values.

2023-02-21 12-35.gif

0 votes
Tobias H
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.
February 19, 2023

Hi Dd!

From what I can gather:
You have a JSM ticket and a Linked Issue, when the JSM ticket is Resolved you want to copy comments from the Linked Issue into the JSM ticket (or the other way round)?

Is this how you want it to work? Or could you describe it a bit more clearly?
Posting a screenshot of your automation would be good as well :)

Dd
Contributor
February 20, 2023

Hi Tobias,

Thanks for replying

What I'm trying to do is clone a ticket in JSM and get the comments in.

When you clone a ticket in JSM today, unlike JIRA, it does not copy any of the comments.

All the posts talk about creating an automation using {{destinationIssue.comments}} (or some other version). I tried using that but it just won't recognize a smart value named like that.

The message I (mo matter what variation I try with {{destination}} get is :

Advanced branching
The provided smart value was unable to be resolved to an object.

 

Subhra Majhi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2023

Hi Dd, 

This can be achieved by leveraging automation. Please refer to the snippets for designing the automation rule that helps in copying all the comments in case of cloned issues. 

 

Screenshot 2023-05-17 at 3.17.33 PM.png

 

Screenshot 2023-05-17 at 3.19.16 PM.png

Screenshot 2023-05-17 at 3.19.58 PM.png

Screenshot 2023-05-17 at 3.20.45 PM.png

Like Sumita Chugh Paul likes this
Jacob Miller
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!
May 10, 2023

HI @Subhra Majhi Can you upload the pictures again, I can't see them.

Subhra Majhi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 17, 2023

Hi @Jacob Miller  Re-published it again. Please let me know if you still see any glitch. Would be happy to fix. 

Like Jacob Miller likes this
Abhishek Ramakrishna P February 12, 2025

@Subhra Majhi : Using this similar automation, Can we also copy comments from ticket linked in Jira Service Management to Jira Software and vice versa ?

For Example :
If AST is a JSM project and PLM is JSW project.

When user from JSW project tags the reporter of JSM project on the ticket and leave a comment, The comment should directly flow to JSM Project and should be visible to JSM Customer (who do not have access to Jira)

Lets assume If PLM-123 has a linked ticket AST-123 & if a Jira User "Xyz" (who has access Jira) comments on PLM-123 ticket tagging the reporter of the AST Ticket, The comments need to flow to linked to AST-123 ticket. Can we use similar automation to achieve it ?

 

Thanks in advance.

Suggest an answer

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

Atlassian Community Events