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

www.adapt2solutions.com

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

1 answer

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

194 views 18 7
Join discussion

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