Programatically link migrated Jira ID with migrated source code in GitHub?

Programatically link migrated Jira ID with migrated source code in GitHub