Module issue_comment_properties_api

Source

Enums§

DeleteCommentPropertyError
struct for typed errors of method delete_comment_property
GetCommentPropertyError
struct for typed errors of method get_comment_property
GetCommentPropertyKeysError
struct for typed errors of method get_comment_property_keys
SetCommentPropertyError
struct for typed errors of method set_comment_property

Functions§

delete_comment_property
Deletes a comment property. Permissions required: either of: * Edit All Comments project permission to delete a property from any comment. * Edit Own Comments project permission to delete a property from a comment created by the user. Also, when the visibility of a comment is restricted to a role or group the user must be a member of that role or group.
get_comment_property
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.
get_comment_property_keys
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.
set_comment_property
Creates or updates the value of a property for a comment. Use this resource to store custom data against a comment. The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters. Permissions required: either of: * Edit All Comments project permission to create or update the value of a property on any comment. * Edit Own Comments project permission to create or update the value of a property on a comment created by the user. Also, when the visibility of a comment is restricted to a role or group the user must be a member of that role or group.