Creates a new IssueComment, returns the created IssueComment. Checks the authorization status, and checks that the referenced Artefact can be used on the Issue. Also, checks that the Comment it answers, if present, is on the same Issue
Return
the saved created IssueComment
Parameters
used to check for the required permission
defines the Issue, User and optional IssueRelationType of the IssueRelation
Creates a new IssueComment on issue at atTime as byUser. Does not check the authorization status. Checks for each Artefact in referencedArtefacts that it is on a Trackable the issue is on. If present, checks that the Comment it answers is on the same issue. Does neither save the created IssueComment nor the issue. It is necessary to save the issue or returned IssueRelation afterwards.
Parameters
the Issue from which the created IssueRelation starts
the Comment the created IssueComment answers
the body of the created IssueComment
Artefacts the created IssueComment should reference
the point in time when the modification happened, updates Issue.lastUpdatedAt if necessary
the User who caused the update, updates Issue.participants if necessary