How can we control notifications for deleted attachments?
Whenever we send emails that hit JIRA, all images and attachments are placed as an attachment on the JIRA issue. This is wonderful for file attachments, however, all the small thumbnails that are on emails (eg: Logos, signature jpg's, etc.) can heavily clutter the issue with attachments. We go into the issue and delete these unwanted and unecessary attachments, but every time we delete one of these, an email is sent to all the watchers. This can sometimes lead to a wave of emails, especially if the initial email being absorbed by JIRA has a lengthy trail and it starts peeling off every image and placing it as an attachment... I think you get the idea here. How do we control notifications for deleted attachments?
Grateful for an answer, Jay
As it turns out, you can't just stop the notifications for deleting files as this notifications are the Issue Edited event. So you would have to remove this event from the Notification Scheme, but all other modifications done to the issue when you edit it's details won't generate mail as well. However, if that's fine, you can just edit the Notification Scheme associated with the project and remove recipients from the Issue Edited.
This workaround isn't ideal for most.
As you want to be able to delete an attachment, perhaps as a project admin or other without mucking around with notification schemes. You could also be interfering with the notification scheme on your own project and missing notifications.
So what I would do is create a project with no notification scheme. Then move the issue you want to delete the attachment on to that project. delete the attachment, then move it back. Not ideal by any means, but this means you are not changing project settings or having to do a lot of work on the fly to delete an attachment. (which should be rare that you get a sensitive attachment that you want deleted without the user knowing).
Ofcourse more fine grain controls would be appreciated (I am here looking for ways to stop internal comments from sending internal notifications).
Thanks Jay. I found a program in the Marketplace that will allow you to filter what types of files can be added to an issue...for example, the thumbnail and logo images that are attaching as a result of a client responding to an issue in email are in .PNG format. Apparently this plug-in can filter attachments out based on the file type. It's called Attachment Checker for Jira. I haven't tried it yet! I also found an article that talks about removing attachments in bulk by removing them from the folder where they are kept on the server...I can't find that article again, but if I find it I will post it here. Good luck!
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event