getCommentProperty method

Future<EntityProperty> getCommentProperty({
  1. required String commentId,
  2. required String propertyKey,
})

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.

Implementation

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