Deletes an IssueComment, returns the deleted IssueComment. Checks the authorization status.

Return

the saved deleted IssueComment

Parameters

authorizationContext

used to check for the required permission

input

defines the IssueComment to delete


suspend fun deleteIssueComment(issueComment: IssueComment, atTime: OffsetDateTime, byUser: User)

Deletes an issueComment at atTime as byUser. Does not check the authorization status. Does not save the deleted IssueComment. It is necessary to save the deleted issueComment afterwards.

Parameters

issueComment

the IssueComment to delete

atTime

the point in time when the modification happened, updates Issue.lastUpdatedAt if necessary

byUser

the User who caused the update, updates Issue.participants if necessary