I am using JIRA to automatically add comments and attachments to JIRA cases when emailing back and forth with clients (which is working perfectly at the moment). Both the client and I have our company icons/images in our signature block, so everytime an email is sent a ne attachment is created on the case with them same repeating logos.
I do not want to bloack the addition of all attachments/screenshots since that is very valuable when a screenshot or file is actually sent. I know there is a way to restrict the size of a single attachment, but these signature logos are very small in size and to lower the limit below that mark means almost no attachment would ever be added.
I have thought about, and attempted to put something in a mail handler Split Regex that would stop JIRA from looks past a certain point that would force it to ignore the logo at the end of the signature block, but have not been able to find a working combination.
Any thoughts on how I can prevent the same image/attachment from being attached to a JIRA case? I'm fine if it has to happen once per case, but I dont want 50 image attachments strictly becasue there were 50 emails. Please keep in mind I am a JIRA OnDemand user so plugins, to my understanding, are not an option.
Current Split RegEx: /From: *|___.*|On .*wrote:|----Orig.*|On .*(JIRA).*/
(IMAGE - It won't actually show in this forum)
Without plugins, you will not be able to do this (someone prove me wrong!). The default OnDemand mail handlers do not allow customization to the degree necessary, you may well be able to chop bits of the post converted content (ie HTML -> TEXT) with Regexp but images that are either embedded IMG data or just attachments cannot be intercepted. All these things of course can be done in the download version of JIRA, with JEMH that caters for signature image blacklisting by md5 fingerprint.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot