Connecting Jira to a GitHub Enterprise organization
- 
http[s]://[hostname]/login で GitHub Enterpriseのアカウントにサインインする。 If already signed in, click on the GitHub logo in the top left corner.
 - 
Click on your profile icon under the GitHub logo and select the organization you would like to connect with Jira.

 - 
Click on the Edit organization name settings link.

 - 
In the left sidebar, under Developer settings, click OAuth Apps.

 - 
Click on the Register new application button.

 - 
アプリケーションの設定を次のように記入する。
- In the Application name field, type "Jira" or any name you would like to use to identify the Jira instance.
 - In the Homepage URL field, type the full URL of your Jira instance.
 - In the Authorization callback URL field, type the full URL of your Jira instance.
 
 - 
Register application をクリックする。
 - 
ページの上部の [Client ID] と [Client Secret] をメモしてください。 You will need these for configuring your Jira instance.
 
Jira instance configuration
- 
On your Jira instance, log into an account with administrative access.
 - 
At the top of the page, click the settings (gear) icon and choose Applications.

 - 
In the left sidebar, under Integrations, click DVCS accounts.

 - 
Click Link Bitbucket Cloud or GitHub account.

 - 
[Add New Account] (新規アカウントを追加) モーダルで、GitHub Enterprise の設定を記入してください。
- From the Host dropdown menu, choose GitHub Enterprise.
 - Team or User Account の欄には、GitHub EnterpriseのOrganization、または個人アカウントの名前を入力する。
 - OAuth Key の欄には、GitHub EnterpriseのディベロッパーアプリケーションのClient ID を入力する。
 - OAuth Secret の欄には、GitHub Enterpriseのデベロッパーアプリケーションの Client Secret を入力する。
 - If you don't want to link new repositories owned by your GitHub Enterprise organization or personal account, deselect Auto Link New Repositories.
 - If you don't want to enable smart commits, deselect Enable Smart Commits.
 - [Add] をクリックします。
 
 - 
GitHub Enterpriseに対して与えるアクセス権を確認して、Authorize application をクリックする。
 - 
必要であれば、パスワードを入力する。