Attaching Files

MantisHub supports attaching multiple documents to issues (max size 25MB each). Files can be attached as part of reporting a new issue by either dragging and dropping the files into the 'Upload Files' section or clicking in the 'Upload Files' section to choose which files to attach. Upon selecting 'Submit Issue' the files will complete their upload. 

Attach_File_03.png

Files can also be attached later on from within the issue. Simply open the issue, go to the 'Add Note' section and either drag and drop the files or click in the 'Upload Files' area and choose which files to attach. You must select 'Add Note' in order to complete the file upload. Currently, only public notes support attachments. You will not see the 'Upload Files' section if the note is marked as private. 

Attach_File_01.png

Attachments that are image or text files smaller than 256KB are previewed inline when viewing the issue. All other attachments can be downloaded or opened when clicked by the user.

You can minimize or delete an attachment by opening the issue, going to the 'Activities' section, hover over the note and a 'Delete' button will appear. Otherwise, next to the attachment you can select the trash can icon to delete or the minimize icon to minimize an inline preview image.

Attach_File_02.png

Configurations:

You can configure the number of attachments that can be added at one time. Go to 'Manage' - 'Manage Configuration' - 'Configuration Report' page and scroll to the 'Create Configuration Option' section and add: 

  • Username: 'All Users'
  • Project Name: 'All Projects'
  • Configuration Option: 'file_upload_max_num'
  • Type: 'integer'
  • Value: '2' (This indicates the maximum number of attachments that can be added to an issue at one time, i.e. 2 attachments)

Hit 'Create Configuration Option'.

You can also configure the max inline preview size up to 1MB (1048576 in bytes).

Go to 'Manage' - 'Manage Configuration' - 'Configuration Report' page and scroll to the 'Create Configuration Option' section and add: 

  • Username: 'All Users'
  • Project Name: 'All Projects'
  • Configuration Option: 'preview_attachments_inline_max_size'
  • Type: 'integer'
  • Value: '1048576'

 Hit 'Create Configuration Option'.

Have more questions? Submit a Request

Comments

Powered by Zendesk