Improvement
Support Jira Service Desk REST API
Attachments uploaded via the following REST API are now supported:
-
/rest/servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile -
/rest/servicedeskapi/request/{issueIdOrKey}/attachment
Error will be returned if attachment is not allowed, for example:
curl -D- -u username:password -X \
-H "X-Atlassian-Token: no-check" \
-H "X-ExperimentalApi: opt-in" \
-F "file=@file.exe" \
http://host:port/rest/servicedeskapi/servicedesk/3/attachTemporaryFile
HTTP/1.1 100
HTTP/1.1 403
...
{"errorMessage":"This file type is not allowed!"}
Issue
|
Key |
Summary |
T |
P |
Status |
Resolution |
|---|---|---|---|---|---|
|
Data cannot be retrieved due to an unexpected error. |
|||||