Connecting JIRA to a GitHub Enterprise organization
- Sign into your GitHub Enterprise account at http[s]://[hostname]/login.
- In the upper right corner of any page, click the account settings (gear) icon.
- In the left sidebar, click the name of your organization.
- In the left sidebar, click Applications.
- In the upper right corner of the Organization applications box, click Register new application.
- Fill in the application settings:
- In the Application name field, type "JIRA".
- 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.
- Click Register application.
- At the top of the page, note the Client ID and 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.
- In the settings dropdown, choose Add-ons.
- In the left sidebar, under Source control, click DVCS accounts.
- Click Link Bitbucket or GitHub account.
- In the Add New Account modal, fill in your GitHub Enterprise settings:
- From the Host dropdown menu, choose GitHub Enterprise.
- In the Team or User Account field, type the name of your GitHub Enterprise organization or personal account.
- In the OAuth Key field, type the Client ID of your GitHub Enterprise developer application.
- In the OAuth Secret field, type the Client Secret for your GitHub Enterprise developer application.
- If you don't want to link new repositories owned by your GitHub Enterprise organization or personal account, unselect Auto Link New Repositories.
- If you don't want to enable smart commits, unselect Enable Smart Commits.
- Click Add.
- Review the permissions you are granting to your GitHub Enterprise account and click Authorize application.
- If necessary, type your password to continue.