Is there a way to restrict repetitive images, screenshots, or attachments from automatically adding to a JIRA OnDemand issue?

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).*/

Signature Block:

Ross Nichols

Adapt2 Solutions

Office: 713-468-3001

(IMAGE - It won't actually show in this forum)

1 answer

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

196 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you