Originally asked by Florian on 18 November 2021 (original question)
Hello,
I use Exalate for the sync between JIRA and Zendesk. I want all incoming comments to be saved as internal comment and there the original author is also passed.
Individually I can do this, but how do I connect the two commands correctly?
issue.comments = commentHelper.mergeComments(issue, replica,{it.internal = true})
issue.comments = commentHelper.mergeComments(issue, replica,
{
comment ->
comment.body =
"[" + comment.author.displayName + "] commented: \n" +
"{quote}\n" +
comment.body + ";\n" +
"{quote}\n";
})