Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Products
  • Jira
  • Questions
  • Is there a way to restrict repetitive images, screenshots, or attachments from automatically adding to a JIRA OnDemand issue?

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

rnichols
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2013

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

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2013

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