Error "Attachment size must be a number between 1 to 2147483647" when trying to set 2GB(2147483648 bytes) as attachment limit

XMLWordPrintable

    • 1
    • Minor

      Problem

      Error Attachment size must be a number between 1 to 2147483647 when trying to set 2GB(2147483647 bytes) as attachment limit as per the Edit attachment settings page.

      Environment

      Jira Cloud

      Steps to Reproduce

      1. Open https://<your-domain>.atlassian.net/secure/admin/ViewAttachmentSettings.jspa
      2. Click Edit Settings
      3. In the Attachment Size field, specify the maximum attachment size of 2 GB which is 2147483648 bytes

      Expected Results

      2 GB is 2147483648 bytes, so the system should allow to set a value of 2147483648 bytes in the Attachment Size field

      Actual Results

      Size 2 GB is 2147483648 bytes but the system allows only 2147483647 which is 1 byte less.

      Workaround

      None at the moment. Set 2147483647 bytes in the Attachment Size field as that is the nearest to the correct value.

              Assignee:
              Unassigned
              Reporter:
              Diptajeet Datta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: