v1

latestOpenAPI 3.0.02026-07-24161215397.4 KB
Ticket Comments

Post a comment/comments about a specific ticket

Post a comment/comments about a specific ticket

Required scopes: flex.collaboration.ticketComments.create

post/api/v2/organizations/{orgSlug}/ticket-comments/{ticketId}

Path parameters

ticketIdstring required

ticket id

orgSlugstring required

organization slug

Request body

textstring required

The text of the comment.

memberstring required

The member that posts the comment.

isPublicboolean required

Boolean that shows whether the comment is public. Comments coming from members can only have public set to "true".

Example request

{
  "text": "This is the comment text",
  "member": "6a4e2038aedbb38ad5b3f718",
  "isPublic": true
}

Response

_idstring

The _id of the item.

textstring

The text of the comment.

targetstring

The _id of the target item.

targetType'team' | 'member' | 'payment' | 'issue'

The type of the target item.

memberstring

The _id of the member who posted the comment.

isPublicboolean

Boolean that shows whether the comment is public.

Example response

{
  "_id": "6a4e2038aedbb38ad5b3f719",
  "text": "This is the comment text",
  "target": "6a4e2038aedbb38ad5b3f71a",
  "member": "6a4e2038aedbb38ad5b3f71b",
  "isPublic": true
}