clone issue with comments - possible?

Situation is where an issue gets off topic. I want to clone it and rename, delete out all comments preceding the topic change. How to achieve this?

1 comment
Comment actions Permalink
Official comment

Hello Ryan, you can create a custom workflow and clone the issue by using `copy()` method, but unfortunately you can't clone comments there. You can copy comments from the parent issue one by one but you can't preserve timestamps and authors of those comments.
Also you'll need to decide when to trigger this workflow - for example, on a change of some custom field.
Please let us know if you have any further questions or if you need assistance.
Thank you.

Please sign in to leave a comment.