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.

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
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