-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.1.0
-
Component/s: REST API
-
7.01
-
2
-
Severity 3 - Minor
-
1
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Using https://docs.atlassian.com/jira/REST/latest/#api/2/issue/{issueIdOrKey}/attachments-addAttachment.
... Content-Disposition: form-data; name="file"; filename="xxxx" Content-Type: application/octet-stream Content-Transfer-Encoding: binary ...
However, JIRA returns
"mimeType":"text/html"
More specifically, it is impossible to add binary attachments that do not have a file extension since the mime type cannot be set.
- relates to
-
JRACLOUD-60430 REST API for addAttachment ignores content type setting
-
- Closed
-