jira.js
    Preparing search index...

    Function deleteComment

    • 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.

      Parameters

      • client: Client
      • parameters: { id: string; issueIdOrKey: string }
        • id: string

          The ID of the comment.

        • issueIdOrKey: string

          The ID or key of the issue.

      • Optionaloptions: RequestOptions

      Returns Promise<void>