Anyone with admin permissions to a repository can configure autolink references to link issues, pull requests, commit messages, and release descriptions to external third-party services.
たとえば、ユーザから報告されたチケットをZendeskで追跡している場合は、Issueを修正するために開いたプルリクエストでチケット番号を参照できます。
-
GitHub Enterprise Serverインスタンスで、リポジトリのメインページにアクセスしてください。
-
リポジトリ名の下で Settings(設定)をクリックしてください。
-
In the "Integrations" section of the sidebar, click Autolink references.
-
[Add autolink reference] をクリックします。
-
[Reference prefix] に、コラボレータ が外部リソースへの自動リンクを生成する際に使用する短くわかりやすいプレフィックスを入力します。
-
[Target URL] に、リンク先の外部システムへのリンクを入力します。 参照番号の変数は
<num>
のままにしてください。 -
[Add autolink reference] をクリックします。