suspend fun updateBody(authorizationContext: GropiusAuthorizationContext, input: UpdateBodyInput): Body
Updates an IssueComment, returns the updated IssueComment. Checks the authorization status, and checks that the added referenced Artefact can be used on the Issue.
Return
the saved updated IssueComment
Parameters
authorizationContext
used to check for the required permission
input
defines the IssueComment to update
Updates an body at atTime as byUser. Does not check the authorization status. Does not save the updated Body. It is necessary to save the updated body afterwards.
Parameters
body
the Body to update
newBodyValue
if not null, the new body of the body
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