Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5
-
Severity 3 - Minor
-
Description
Summary
Using REST API to upload issue attachment POST /rest/api/2/issue/{issueIdOrKey}/attachments may result in 413 Entity too large response, even if it is allowed to have bigger uploads. However later on the attachment can be seen as attached to the issue.
Steps to reproduce
- use REST API endpoint to upload an attachment to a Jira issue: POST /rest/api/2/issue/{issueIdOrKey}/attachments
- select a file that is large - usually the bug affects files larger than 120MB, but there is no precise size threshold.
- make sure that file size does not exceed the attachment size allowed for the instance.
Expected Results
- REST API response is 200 OK including representation of attached file in the response body.
- File is successfully attached to the issue.
Actual Results
- REST API response is 413 Entity too large
- File is successfully attached to the issue.
Workaround
After receiving the 413 Entity too large response to attachment upload request, use GET /rest/api/2/issue/{issueIdOrKey} endpoint to fetch issue details and confirm whether the file was attached, together with the attachment details.
Attachments
Issue Links
- derived from
-
JRACLOUD-67223 Uploading large files will result in 413(Request Entity Too Large) error
- Closed
- is duplicated by
-
JRACLOUD-68099 Unable to POST attachments greater than 800MB
- Closed
- mentioned in
-
Page Loading...