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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to copy all comments with timestamp while cloning an issue?

Hello All,


For our use case, we need to copy the comments while cloning an issue. We are trying to leverage the Automation but have not been successful till now.

Any suggestions to achieve this, especially with native functionality, are highly appreiated.

4 answers

3 accepted

Hi @Gaurav Gupta 


I'm working as a pre-sales engineer with Exalate.

I will suggest something out-of-the box.
Cloning the issue to another Jira Cloud instance with Exalate, and then you can configure that the comments will get copied over.

The ticket will out-of-the-box be fully bi-directionally syncronized, which means, if a field gets updated on either side, it will automatically update on the other side, you can change this to make it uni-directional if you so please.

Exalate is easy and straightforward to set-up and you can control exactly which data you want to send and/or receive. 

If you would like to see a customized demo of the product, please book a slot with us. 


Mathieu Lepoutre

1 vote
Answer accepted
Gaurav Community Leader May 31, 2022

Hello @Gaurav Gupta 

Apart from the above suggestions, Automation can be leveraged to create something similar.

Please find below the snapshot of the rule we created for a similar use case. This brings all comments from the original issue and publishes them separated by dashes and blank lines with the author and timestamp.

The code snippet for comment uses smart values and is as:

Comment by: {{author.displayName}} at: {{created}}



Let me know if this helps.


Copy comments to Cloned Epic.PNG

Gaurav Community Leader May 31, 2022

@Gaurav Gupta Just to add, the automation fails if the overall length of the comment is more than 32767 characters. This is the default maximum length allowed for comments. There are open tickets with Atlassian to handle this scenario.

This works great. Thank you!!!

1 vote
Answer accepted

To answer the main question, no, you can't do this with plain off-the-shelf Jira.  It's not something cloning is actually for, so there's no functionality in the cloning bit, and Jira expects different issues to be there for different reasons, and not have comments be copied because they are separate issues with their own life cycles.

You'll need an app to implement this, and Mathieu has already talked about one of the ones I would suggest.

I've been working on something for my team when cloning issues and needing the comments from the trigger issue added in that automation. The code I have used is an edit on @Gauravcode. 

I used: 

h3. Comments from issue with IT Support

Comment by: {{author.displayName}} at: {{created}}


This rendered something like this:
2022-09-06 16_57_49-[ITS-4700] CLONE - TEST - Jira.png

I included this are part of my clone automation, I've added a screenshot below:
2022-09-06 16_57_23-Slack _ Uli Low _ Liberis.png

Just remember to make sure the scope in the rule details covers both projects (if you're cloning between two projects) otherwise the comments won't be available. Hope this helps!

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events