getCommentPropertyKeys method

Future<PropertyKeys> getCommentPropertyKeys(
  1. String commentId
)

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.

Implementation

Future<PropertyKeys> getCommentPropertyKeys(String commentId) async {
  return PropertyKeys.fromJson(await _client.send(
    'get',
    'rest/api/3/comment/{commentId}/properties',
    pathParameters: {
      'commentId': commentId,
    },
  ));
}