Copy comments from the original Jira issue to a cloned issue

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

Summary

Cloning copies over information from a Jira issue or JSM request like the Summary and Description fields, but not comments. 

Jira does not currently support copying comments from the original issue/request to the cloned one, but we do have a  Feature Request for it here:

Use Automation to copy comments in cloned issues

You can use smart values in a Jira Automation rule to copy any comments into cloned issues whenever they are created.

Please note, the following automation rule will copy both the internal and public comments to the cloned issue.  

  1. Navigate to the project where you want to clone issues and retain their comments
  2. Select Project settings > Automation
  3. Create an automation rule with the trigger "Issue Created"
  4. Add the Related issues condition, and from the dropdown list select Related issues as Linked issues, Link types as Clones, and Condition as Are Present

    screenshot of automation rule with the necessary related issues condition details
  5. Add the Lookup issues action to search for the original issue using the JQL 'issue in linkedIssues("{{issue.key}}")'

    screenshot of automation rule and the lookup issues action
  6. Add the Advanced branching condition

  7. Set the smart value as {{lookupIssues.last.comments}} and assign the variable name Comm

    screenshot of details for the advanced branching condition

  8. Under Advanced branching, add the Comment on issue action as below (you can change the format as per your requirement):

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


    1. Make sure to check the checkbox Prevent duplicates by only adding this comment once to a particular issue 

    2. In the  Comment Visibility, select Internal only if you want to add the comments as internal comments, or Share with customer if you want to add them as public comments

    3. Please note, the respective notifications will be triggered for these comments

      screenshot of automation rule with the necessary comment on issue actions

  9. Save and publish the rule


Last modified on Mar 14, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.