Atlassian Update – 7 February 2020 Hi everyone, In the last update we recommended switching to the mail handlers which use regular expressions to get rid of unwanted content such as email footers or signatures. We also announced deprecating the two email handlers which are not using regex. Since then, we’ve received important feedback on our deprecation statement and, as a result, we decided to revert it. We will not be deprecating the two mail handlers and instead will work on adding regular expression to the existing handlers to help admins manage the unwanted content added to Jira issues via email. Thank you for sharing with us via Atlassian support team the reasons why, in some cases, it’s not possible to switch to the recommended mail handlers. As stated above, the Atlassian team will keep all handlers in Jira. We also plan for all handlers to use regex. Meanwhile, we will change the in-product deprecation warnings in the upcoming versions of Jira. I am re-opening this issue and will communicate progress in the upcoming weeks. Katarzyna Derenda Product Manager, Jira Server and Data Center
If one replys to JIRA message from Outlook to JIRA configured with NonQuotedCommentHandler and CreateOrCommentHandler the "old" message is not striped out.
The html source code for the reply message around the end of the reply and the original message looks like:
Outlook doesn't indicate/separate the "old content" from the reply message in any way that would allow us to program JIRA to recognize and process the message.
For e.g. the blue line which in this case is separating the content, can be used for other purposes too. So, we can't use it to trim the content base on it.
For references this is a screenshot of the reply email sent from Outlook.
Currently known work arounds that might work in some cases are:
- Remove manually the remaining text
- Create 1 mail server and mail handler for the “New” incoming emails and a second mail server and mail handler for “Reply” emails. Each mail server has it’s own separate email address, so you can get rid of the entire email thread.
- customise mail temples in JIRA to include a line that will help JIRA trim messages e.g. _---- Original Message ---- _ and specify it atlassian-jira/WEB-INF/classes/outlook-email.translations . Note, it will not trim whole message but every thing below this line and it will need to be moved to a new JIRA if you upgrade in the future.
- Use one of the methods documented here: https://confluence.atlassian.com/jirakb/remove-previous-content-from-incoming-email-from-jira-server-in-microsoft-outlook-223218415.html
- Stop to use this client