When replying to a received HTML format notification from an issue in JIRA, the old reply data does not strip out properly when using Outlook as the email client.
In JIRA 4.4.4, I have found that even if I enable “stripquotes=true” or not, JIRA does not strip quotes or signatures from email messages.
There are many methods to resolve (or at least a workaround to) this problem, most of which can be found here.
However, I have found that the best method (whilst not perfect, does a pretty good job) is the following:
Create two services. One being your standard mail handler for your project, and the second being a regex handler (for replies).
E.G.:
Service #1 (default project mail handler):
Handler: Create or Comment Handler
Handler Parameters: project=ITHD,createusers=false,issuetype=1,stripquotes=true,ccwatcher=true,splitregex=/From: *|On .*|wrote:|(ITHD).*|(Innovation in the*)|(—-Original Message—-)/
Service #2 (Regex handler):
Handler: Regex Comment Handler
Handler Parameters: project=ITHD,createusers=false,issuetype=1,stripquotes=true,ccwatcher=true,splitregex=/From: *|On .*|wrote:|(ITHD).*|(Innovation in the*)|(—-Original Message—-)/
This will allow any replies to tickets to have the regex enabled and applied. However, I have not managed to get the initial mail handler to apply regex on create issue. If anyone has any comments, please let me know!