Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-70142

Misleading error related to attachment size

XMLWordPrintable

      Issue Summary

      You can control the size limit of attachments on https://<YOUR_SITE>.atlassian.net/secure/admin/ViewAttachmentSettings.jspa.

      That will prevent users from uploading attachments whose size is greater than the one specified on that page. But currently the message displayed when users try to do so is completely misleading, giving the idea that the upload should have worked:

      Steps to Reproduce

      • Configure the attachment size limit to a value
      • Try uploading an attachment with a greater value to an issue

      Expected Results

      A message stating that the attachment is greater than the limit allowed will be displayed.

      Actual Results

      A message asking the user to try again will be displayed:

      Reload the issue then try adding it again.
      

      Update

      There are different/current behaviours for when you try to save an attachment that exceeds the configured limit in the Description and Comment.

      Description

      You can select the attachment and there will be no error message until you try to save the Description comment, which will then trigger the following misleading message:

      We couldn't save your content It may contain formatting we don't recognise. 
      Try removing the formatting before saving.
      

      Comment

      The Comment section has a similar behaviour, but with a different misleading message:

      We couldn't save your comment It might be empty or have invalid formatting. If you copy-pasted, try removing the formatting and adding it directly in the editor.
      

      Workaround

      In case you run into that message, check your instance's attachments settings on https://<YOUR_SITE>.atlassian.net/secure/admin/ViewAttachmentSettings.jspa

        1. screenshot.png
          screenshot.png
          18 kB
        2. screenshot-1.png
          screenshot-1.png
          17 kB
        3. screenshot-2.png
          screenshot-2.png
          374 kB
        4. Screenshot 2025-01-17 at 10.11.39 AM.png
          Screenshot 2025-01-17 at 10.11.39 AM.png
          401 kB
        5. Screenshot 2025-01-17 at 10.15.11 AM.png
          Screenshot 2025-01-17 at 10.15.11 AM.png
          476 kB

              Unassigned Unassigned
              fabbes Fares Abbes (Inactive)
              Votes:
              22 Vote for this issue
              Watchers:
              38 Start watching this issue

                Created:
                Updated: