def METHOD_NAME(
    project: "ogr_github.GithubProject",
    title: str,
    body: str,
    private: Optional[bool] = None,
    labels: Optional[List[str]] = None,
    assignees: Optional[list] = None,
) -> "Issue":
    if private:
        raise OperationNotSupported("Private issues are not supported by Github")
    if not project.has_issues:
        raise IssueTrackerDisabled()
    github_issue = project.github_repo.create_issue(
        title=title, body=body, labels=labels or [], assignees=assignees or []
    )
    return GithubIssue(github_issue, project)