attachment upload to DISK into directories by ticket number

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
michaelgeorge
Posts: 1
Joined: 17 Mar 2023, 18:41

attachment upload to DISK into directories by ticket number

Post by michaelgeorge »

I am testing attachment uploads in our MantisBT installation and putting those uploads onto an NFS file system.

Since this is open-source software and our attachments could be needed for audits for up to three years, I have been asked what we would do if something happened and MantisBT was not able to properly associate uploaded documents to our changes for some reason. Currently, MantisBT creates separate directories for each Project, but then uses a unique file name across all the tickets. I am not able to determine how I can determine the bug/ticket number from the file name.

As such, we are hesitant to trust MantisBT to handle all of our Compliance documents.

Am I overlooking a setting or some mapping method that would allow tracing from the file names to the associated ticket?
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: attachment upload to DISK into directories by ticket number

Post by cas »

You can do that with a simple query using a tool like phpmyadmin.
I you have issues with that, I canhelp you to creatde such a query
Post Reply