When the body of a comment contains xml code, it is filtered out. when used in the "send email" action.
I've created an automation which sends an email notification whenever a comment is added to a ticket (reply to costumer). The email is supposed to contain the complete comment using smart value {{comment.body}}. But in case the comment contains a XML part like a part of a configuration file, it gets filtered out. The mail received does not contain the XML part.
I.e. if there is some text followed by a piece of xml code followed by some text, all text is there, but not the enclosed xml code.
The funny thing is, that the notification jira sends on it's own to the customer contains the complete comment (which is also shown correct in jira itself).
Trying to "escape" the body did not work neither.
* {{comment.body}} -> missing xml but containing the surrounding text
* .asPlainText -> completely empty
* .htmlEscape -> completely empty
* `{{comment.body}}` -> completely empty