My firm auto-appends lengthy signatures to our emails, I would like to filter out those signatures when i create an issue in JIRA via JEMH. The issue is, when I am forwarding an email into JIRA, I don't want to lose any forwarded email beneath the signature.
This is my content <-- Keep This <-- Keep This This is my very long signature <-- Cut This Signature Line 2 <-- Cut This Signature Line 3 <-- Cut This .... <-- Cut This Signature Line 15 <-- Cut This <-- Keep This From: email@example.com <-- Keep This To: firstname.lastname@example.org <-- Keep This ... <-- Keep This This is forwarded content <-- Keep This <-- Keep This This is his very long signature <-- Cut This Signature Line 2 <-- Cut This Signature Line 3 <-- Cut This .... <-- Cut This Signature Line 15 <-- Cut This
Can JEMH do this?
Hi both. Depending on your JEMH version, there are several fields that can be used:
Create/Comment Body Delimiter Regexps
This regexp allows the index into the post-processed email body content, during Create and Comment, to identify the start of content to be stripped. This can remove signatures quite readily, but has the consequence that when forwarding an email for creation, 'included' content below the signature would be lost.
Comment Body Delimiter Regexps
This regexp is just like the above, but for Comment only, thereby addressing the problem of stopping 'creating' emails being stripped, but of course, resulting in signatures left on issues created by email.
This field should have allowed you to do multiline matching. Looks like the original intent only called for single line matching....
I've just implemented the necessary changes to support multiline https://thepluginpeople.atlassian.net/browse/JEMH-1497 , it will be in 1.4.11
What JIRA editions are involved here, I'll push an update out?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs