Similar to the request on JETI-1408, I'm looking for ways to reduce images from inbound emails cluttering tasks.
I've noticed that a customer with their logo in the email footer will have that logo added for every single email they send. Please consider skipping adding a file to an issue if another file with the same MD5 already is attached to that issue.
It is only part of the solution, but I found this: https://answers.atlassian.com/questions/247062/preventing-duplicate-email-attachments with some ideas on how to find a block duplicates in a mail handler someone wrote.
Thank you Ari for the link. We are aware of the potential solution. The only reason we were hesitating to implement it is the potential impact on the addon.
If an email is received we'd need to generate a hash for all attachments of the affected issue. This has impact on throughput, CPU, memory and several aspects.
Most probably this will be an option to enable/disable.
We are now focusing on releasing 7.1 with significant changes. Once it is out, this issue will be a priority.
Regards,
Tibor
As I can see that this topic is again there I would like to ask for option to not add attachments to issue option so you can then pick it up and add it from email log entry to issue attachments and/or just show (download it to be opened in corresponding client application).
To reduce a storage you can do then e.g. some job that count MD5 (persit it for future compares) for all of them and then if it matches check it in bytes if same change link to one and delete duplicates. This job then could be schedule by administrator out of business hours or completely off if they have not issue about storage.
@reporter2015 : can I suggest you create your own separate feature requests rather than hijacking this one. This is much simpler: an option to avoid adding attachments which are MD5 hash duplicates of existing attachments.
I made this task: https://jira.atlassian.com/browse/JRA-63907
But I'm not hopeful that Atlassian's glacial pace will see it for several years. Still, at least it is there.