Skip to content

Function: getCommentPropertyKeys() ​

ts
function getCommentPropertyKeys(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  keys?: object[];
}>;

Defined in: src/cloud/api/issueCommentProperties.ts:21

Returns the keys of all the properties of a comment.

This operation can be accessed anonymously.

Permissions required:

  • Browse projects project permission for the project.
  • If issue-level security is configured, issue-level security permission to view the issue.
  • If the comment has visibility restrictions, belongs to the group or has the role visibility is restricted to.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ commentId: string; }-
parameters.commentIdstringThe ID of the comment.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; keys?: object[]; }>