How to ignore an email attachment?

All customers on my Jira Service Desk open tickets solely by email, and that is working fine. However, they use an e-mail signature full of images that end up filling tickets with useless attachments.

 

Is there a way to ignore these images by default?

All files have the same name, so it would be useful if we could just "teach" JSD to not add these files as attachments when new issues are created.

Is that possible?

 

Many thanks

1 answer

0 vote

Hello Arc! How are you?

There isn't such a feature on built-in Jira currently to remove specific images of attachments.

I've found that JEMH do the trick for you. After uploading the images of the signatures, the add-on will create a hash of those images and block them from being attached. Check this tutorial.

Or, you can also try use Script Runner plugin:

Example on how to delete attachments: https://answers.atlassian.com/questions/106733/deleting-all-attachments-through-groovy 

Use an "If...Else" statement to filter attachments you don't want and then add the script to the Create Issue transition.

 

Hope it helps!

Logged a ticket for this annoying thing not handled by JSD:

https://jira.atlassian.com/browse/JSDSERVER-5723

 

Also, logged a feature request to support this in JSD in Enhanced Mail Handler plugin that does it although for Jira Server only atm.

 

JEMH's price plans are out of the question for my organisation and customers.

 

Another ticket to vote for logged here: https://jira.atlassian.com/browse/JRASERVER-13776

Google G Suite subscribed users (not available in free accounts) have the option to remove attachments by file name or type in Advanced Settings > Attachment Compliance - more info at https://support.google.com/a/answer/2364580?hl=en.

I like that JEMH is able to filter out by MD5 hash whih would be probably the most reliable and accurate but $500 for 1 user... NO. They should have at least followed Atlassian's licensing model and don't give such steep pricing thus limiting their product to Enterprise or rich folks.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

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...

184 views 1 11
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