Optionalauthor?: {OptionalaccountId?: stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
OptionalaccountType?: stringThe type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)
Optionalactive?: booleanWhether the user is active.
OptionalavatarUrls?: {Optional16x16?: stringThe URL of the item's 16x16 pixel avatar.
Optional24x24?: stringThe URL of the item's 24x24 pixel avatar.
Optional32x32?: stringThe URL of the item's 32x32 pixel avatar.
Optional48x48?: stringThe URL of the item's 48x48 pixel avatar.
OptionaldisplayName?: stringThe display name of the user. Depending on the user’s privacy settings, this may return an alternative value.
OptionalemailAddress?: stringThe email address of the user. Depending on the user’s privacy settings, this may be returned as null.
Optionalself?: stringThe URL of the user.
OptionaltimeZone?: stringThe time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.
Optionalbody?: A document in Atlassian Document Format, or a string of wiki markup — a string is sent to the v2 endpoint that parses it, and the result is read back as a document.
Optionalcreated?: unknownThe date and time at which the comment was created.
Optionalexpand?: string | string[] | string & {} | (string & {} | "renderedBody")[]Use expand to include additional
information about comments in the response. This parameter accepts renderedBody, which returns the comment body
rendered in HTML.
Optionalid?: stringThe ID of the comment.
The ID or key of the issue.
OptionaljsdAuthorCanSeeRequest?: booleanWhether the comment was added from an email sent by a person who is not part of the issue. See Allow external emails to be added as comments on issuesfor information on setting up this feature.
OptionaljsdPublic?: booleanWhether the comment is visible in Jira Service Desk. Defaults to true when comments are created in the Jira Cloud Platform. This includes when the site doesn't use Jira Service Desk or the project isn't a Jira Service Desk project and, therefore, there is no Jira Service Desk for the issue to be visible on. To create a comment with its visibility in Jira Service Desk set to false, use the Jira Service Desk REST API Create request comment operation.
Optionalproperties?: { key?: string; value?: unknown; [key: string]: unknown }[]A list of comment properties. Optional on create and update.
OptionalrenderedBody?: stringThe rendered version of the comment.
Optionalself?: stringThe URL of the comment.
OptionalupdateAuthor?: {OptionalaccountId?: stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
OptionalaccountType?: stringThe type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)
Optionalactive?: booleanWhether the user is active.
OptionalavatarUrls?: {Optional16x16?: stringThe URL of the item's 16x16 pixel avatar.
Optional24x24?: stringThe URL of the item's 24x24 pixel avatar.
Optional32x32?: stringThe URL of the item's 32x32 pixel avatar.
Optional48x48?: stringThe URL of the item's 48x48 pixel avatar.
OptionaldisplayName?: stringThe display name of the user. Depending on the user’s privacy settings, this may return an alternative value.
OptionalemailAddress?: stringThe email address of the user. Depending on the user’s privacy settings, this may be returned as null.
Optionalself?: stringThe URL of the user.
OptionaltimeZone?: stringThe time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.
Optionalupdated?: unknownThe date and time at which the comment was updated last.
Optionalvisibility?: {Optionalidentifier?: string | nullThe ID of the group or the name of the role that visibility of this item is restricted to.
Optionaltype?: "role" | "group" | string & {}Whether visibility of this item is restricted to a group or role.
Optionalvalue?: stringThe name of the group or role that visibility of this item is restricted to. Please note that the name of a group
is mutable, to reliably identify a group use identifier.
Optionaloptions: RequestOptions
Adds a comment to an issue.
This operation can be accessed anonymously.
Permissions required: