Page 1 of 1

How to delete multiple attachments at once?

Posted: 19 Oct 2023, 17:20
by gurksallad
We use EmailReporting plugin, which is great. Also, the attachment ability in MantisBT is great, except for one thing: attachments can only be deleted one by one, with confirmation and reloading pages between each delete. For one delete it's fine, but for more, not much.

Today we had a user that mailed a lot right to the ticket (EmailReporting imported everything). The worst with this user was that his "signature" consisted of 19 tiny PNG-files. Everyone of them got imported into the ticket, and there are now over 120 of them polluting the ticket notes 8O

Is there a (hidden) option / config / something that let's us delete multiple attachments at once? If not, how do we request this feature?

Re: How to delete multiple attachments at once?

Posted: 20 Oct 2023, 06:22
by cas
This is not available out of the box.
You can develop this feature and contribute. If that is not an option, you can report it @ www.mantisbt.org/bugs

Re: How to delete multiple attachments at once?

Posted: 08 Nov 2023, 00:35
by mushu
+1 for this as an option as well. Some of our users have way too many dumb email images and high traffic tickets fill the view with attached images. Then every time you delete one it generates an email.

Re: How to delete multiple attachments at once?

Posted: 08 Nov 2023, 11:02
by cas
Perhaps better option is to have the option in the mail plugin just to add the primary attachment(s). Not sure if that is an option but perhaps @SL-Gundam can give his view.

Re: How to delete multiple attachments at once?

Posted: 08 Nov 2023, 16:14
by mushu
cas wrote: 08 Nov 2023, 11:02 Perhaps better option is to have the option in the mail plugin just to add the primary attachment(s). Not sure if that is an option but perhaps @SL-Gundam can give his view.
That would make anything posted in the body of the message such as a screenshot to be left out. This is a difficult problem to solve if you are looking at the code not including certain items but including others. I think best is to just make it easier to delete a bunch of things at once. Checkboxes do wonders...