Module issue_comments_api

Source

Enums§

AddCommentError
struct for typed errors of method add_comment
DeleteCommentError
struct for typed errors of method delete_comment
GetCommentError
struct for typed errors of method get_comment
GetCommentsByIdsError
struct for typed errors of method get_comments_by_ids
GetCommentsError
struct for typed errors of method get_comments
UpdateCommentError
struct for typed errors of method update_comment

Functions§

add_comment
Adds a comment to an issue. This operation can be accessed anonymously. Permissions required: * Browse projects and Add comments project permission for the project that the issue containing the comment is in. * If issue-level security is configured, issue-level security permission to view the issue.
delete_comment
Deletes a comment. Permissions required: * Browse projects project permission for the project that the issue containing the comment is in. * If issue-level security is configured, issue-level security permission to view the issue. * Delete all comments project permission to delete any comment or Delete own comments to delete comment created by the user, * If the comment has visibility restrictions, the user belongs to the group or has the role visibility is restricted to.
get_comment
Returns a comment. This operation can be accessed anonymously. Permissions required: * Browse projects project permission for the project containing the comment. * If issue-level security is configured, issue-level security permission to view the issue. * If the comment has visibility restrictions, the user belongs to the group or has the role visibility is restricted to.
get_comments
Returns all comments for an issue. This operation can be accessed anonymously. Permissions required: Comments are included in the response where the user has: * Browse projects project permission for the project containing the comment. * 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 role visibility is restricted to.
get_comments_by_ids
Returns a paginated list of just the comments for a list of comments specified by comment IDs. This operation can be accessed anonymously. Permissions required: Comments are returned where the user: * has Browse projects project permission for the project containing the comment. * 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.
update_comment
Updates a comment. This operation can be accessed anonymously. Permissions required: * Browse projects project permission for the project that the issue containing the comment is in. * If issue-level security is configured, issue-level security permission to view the issue. * Edit all comments project permission to update any comment or Edit own comments to update comment created by the user. * If the comment has visibility restrictions, the user belongs to the group or has the role visibility is restricted to.