Forums

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

How to clone an issue and retain the comments in Jira Data Center

Gregory Kremer August 15, 2024

Hi Jira experts. I'm looking for an advice on how to retain comments when cloning an issue in Data Center environment. I found example(s) on how to do it in Cloud, but not in Data Center. Any help would be greatly appreciated. Just as an FYI - no ScriptRunner is available to me. Please let me know if you have any questions.

1 answer

0 votes
Florian Bonniec
Community Champion
August 15, 2024

Hi @Gregory Kremer 

 

Do you need to keep the content of the comment or also the author and dates ?

 

Regards

Gregory Kremer August 15, 2024

@Florian Bonniec Thank you for your reply.

Yes, I'd like to preserve as many details as possible.

Florian Bonniec
Community Champion
August 15, 2024

Do you have any app available ?

With just automation, you can add all comments in 1 comment on the new issue.

Trigger Link create  'Cloners'

Action

{{#destinationIssue.comments}}
{{author.displayName}} {{body}}
{{/}}

Regards

 

Gregory Kremer August 15, 2024

It is a FedRAMP system, so, unfortunately, I don't have any other options.

Gregory Kremer August 15, 2024

I was hoping that something similar to the Cloud automation exists.

Suggest an answer

Log in or Sign up to answer