v2

OpenAPI 3.0.12026-08-0174115357.9 KB
Request

Create comment with attachment

This 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

Path parameters

issueIdOrKeystring required

The ID or key of the customer request to which the attachment will be added.

Request body

publicboolean

Controls whether the comment and its attachments are visible to customers

temporaryAttachmentIdsstring[]

List of IDs for the temporary attachments to be added to the customer request.

Response

Returns the attachments and comment.