Anyone with admin permissions to a repository can configure autolink references to link issues, pull requests, and commit messages to external third-party services.
If you use Zendesk to track user-reported tickets, for example, you can reference a ticket number in the pull request you open to fix the issue.
- On GitHub Enterprise Server, navigate to the main page of the repository.
- Under your repository name, click Settings.
- In the left sidebar, click Autolink references.
- Click Add autolink reference.
- Under "Reference prefix", type a short, meaningful prefix you want collaborators to use to generate autolinks for the external resource.
- Under "Target URL", type the link to the external system you want to link to. Make sure to keep
<num>
as a variable for the reference number. - Click Add autolink reference.