def METHOD_NAME(self, external_issue, **kwargs):
    data = kwargs["data"]
    client = self.get_client()
    repo, issue_num = external_issue.key.split("#")
    if not repo:
        raise IntegrationFormError({"repo": "Repository is required"})
    if not issue_num:
        raise IntegrationFormError({"externalIssue": "Issue ID is required"})
    comment = data.get("comment")
    if comment:
        try:
            client.create_comment(
                repo=repo, issue_id=issue_num, data={"content": {"raw": comment}}
            )
        except ApiError as e:
            self.raise_error(e)