Suggestions for regex pattern for Office365 Outlook comments from e-mail

mark.klein January 13, 2020

In Jira Server 8.6.1 the incoming e-mail handler has changed to facilitate adding comments to Jira issues via Outlook:

https://confluence.atlassian.com/jirakb/how-to-set-up-replying-to-jira-notifications-via-outlook-975017386.html

I'm having trouble making the RegEx work at all -- It seems to ignore my Regx pattern and always insert the entire e-mail. Here is what I am trying to use:
/<div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'>/
(which was extracted from the "View Source" view of the HTML-formatted default reply format in Outlook for Office365)

Has anyone come up with a pattern that works for them?

1 answer

0 votes
Kevin Kuphal January 23, 2020

I used 

/From: .*\(Jira\) *<.*@.*>/

Which seems to work fine but the handler is a comment-only handler and will not create new issues like the old "Create or comment" handler does.  Did you make any progress on this and if so, how did you address not being able to create issues via email with the new handler?

Suggest an answer

Log in or Sign up to answer