def add_moved_to_comment()

in migration/src/add_comments_jira_issues.py [0:0]


def add_moved_to_comment(token: str, issue_id: str, github_url: str) -> bool:
    gh_issue_number = github_url.rsplit("/", 1)[1]
    comment = f"""[TEST] This issue was moved to GitHub issue: [#{gh_issue_number}|{github_url}]."""
    res = __add_comment(token, issue_id, comment, logger)
    if res:
        logger.debug(f"Added a comment to {issue_id}")
    return res