Function: getCommentProperty()
ts
function getCommentProperty(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
key?: string;
value?: unknown;
}>;Defined in: src/cloud/api/issueCommentProperties.ts:48
Returns the value of a comment property.
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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { commentId: string; propertyKey: string; } | - |
parameters.commentId | string | The ID of the comment. |
parameters.propertyKey? | string | The key of the property. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; key?: string; value?: unknown; }>