I have searced and searched for a solution to this problem. All the comments by email to Jira doesn't get properly processed. Thats from replying to Jira Issue Created or Issue Commented emails (HTML formatted).
To not find any online solution to why this is happening strikes me curious. Am I the only one with this problem? Is it a known bug?
I am building a Support (help desk) enviroment. The customers answers everything via email and same for the staff. Thats the idea. I have set up procmail and JEMH to preprocess emails before Jira handles them. Procmail edits the subject on emails without (KEY-###) in the subject.
The problem:
The customer or staff answers to a Jira mail. Jira adds the comment and the rest of the jira mail. Every comment gets bigger and bigger. And its impossible to see or follow bug.
* edit
A ticket has been started JEMH-404
I found the solution and it was a real easy one. The solution is in the link below.
Use the CreateOrCommentPlusHandler attached in JRA-11807. This will allow you to specify a splitregex parameter, then you can customize regex to filter out original messages from email.
For example, to filter out all text and HTML original messages from Outlook 2003 emails, I would use:
splitregex=/(-+\s*Original Message\s*-+)|(____________*)/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanx for the comment. But I'm using JEMH and don't want to disrupt that process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JEMH has that ability. Have a look in your JEMH jar for the example-emh.properties file. Just enable the regexp setting:
# Optional, after quote stripping, allow the possibility to apply a regexp against the remaining text to filter out included content from a reply # outlook 2010 included content stripper== [_]{32},From: .*[\n]Sent: .*[\n]To: .*[\n]Subject: .*[\n],---------- Forwarded message ---------- # simple case, default from== [\n]From: .*[\n] # outlook detect with 32 underscores== [_]{32} bodyDelimiterRegexps=[_]{32},From: .*[\n]Sent: .*[\n]To: .*[\n]Subject: .*[\n],---------- Forwarded message ----------
Regexp matching is a little fiddly, Im workig on JEMHUI which will have some things to help...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My JEMH emh.properties has the following line.
bodyDelimiterRegexps=[_]{32},From: .*[\n]Sent: .*[\n]To: .*[\n]Subject: .*[\n],Från: .*[\n]Skickat: .*[\n]Till: .*[\n]Ämne: .*[\n],---------- Forwarded message ----------
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I can't work with the information provided and this isn't the place for that. Please raise a Jira ticket to track the information required. See https://studio.plugins.atlassian.com/wiki/display/JEMH/How+to+Raise+a+Good+JEMH+Bug for details on what I need to help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.