Request
Create comment with attachment
Changed onThis method creates a comment on a customer request using one or more attachment files (uploaded using servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile), with the visibility set by public. See
- GET servicedeskapi/request/{issueIdOrKey}/attachment
- GET servicedeskapi/request/{issueIdOrKey}/comment/{commentId}/attachment
Permissions required: Permission to add an attachment.
Request limitations: Customers can set public visibility only.
post/rest/servicedeskapi/request/{issueIdOrKey}/attachment
Request
- Base URLhttps://your-domain.atlassian.net
- URLhttps://your-domain.atlassian.net/rest/servicedeskapi/request/{issueIdOrKey}/attachment
- AuthOAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: write:servicedesk-request
Path parameters
issueIdOrKeystring required
The ID or key of the customer request to which the attachment will be added.
Request body
Response
Returns the attachments and comment.
Changes
- info
api operation id
createAttachmentremoved and replaced withcreateCommentWithAttachment
- info