The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

which CommentHandler(s) to cut original message from body?

Marcus Bergmann
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 2011

Hello,

we are using Jira 3.13. I have configured the POP3 Service to create and comment issues sent by mail. This is working fine, except the comment function. The problem is when replying to a Jira mail, the whole mail body including the original mail will become the new comment. We have several mail clients like Outlook, Thunderbird, Apple Mail, Smartphones and we have no influence what our customers are using. Which CommentHandler(s) I need to use to handle the several kind of quotes like ">", "|", "----- Original Message -----"? Can i mix them?

Thank You!

Marcus

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jim Birch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 3, 2011

I used the Regex handler for just this reason. It's not perfect but it helps.

My handler parameters look like:

reporterusername=jiraadmin, createusers=false, splitregex="=-=-=|\s*_*\s*From: JIRA \(by:", bulk=delete

This allows people to put the =-=-= sequence above their signature - hidden as small light grey on white - so that signatures and history don't go in Jira. The "From: Jira (by:" part allows users to reply to Jira notifications to add further comments. (Note that we use a modified From format.)

The regex handler doesn't allow comment issue creation, but as this is problematic I'm happy to drop it.

TAGS
AUG Leaders

Atlassian Community Events