You can use the JIRA DVCS plugin to scan commits and pull requests, creating relevant metadata and hyperlinks in any mentioned JIRA Issues.

GitHub Enterprise settings

  1. In the top right corner of any page, click . Settings icon in the user bar

  2. If you'd like to link the JIRA DVCS plugin with an organization, click the name of your organization in the left sidebar. Sidebar organization name

  3. In the user settings sidebar, click Applications. Applications settings

  4. At the top of the page, under Developer applications (for a user account) or Organization applications (for an organization account), click Register new application. Register new application button

  5. Under Application name, type "JIRA".

  6. Under Homepage URL, type the full URL to your JIRA instance.

  7. Under Authorization callback URL, type the full URL to your JIRA instance.

  8. Click Register application. Register application button

  9. Under Developer applications, note the "Client ID" and "Client Secret" values. Client ID and Client Secret

JIRA settings

  1. On your JIRA instance, log into an account with administrative access.

  2. At the top of the page, click the Settings ("gear") icon.

  3. From the dropdown menu, choose Add-ons.

  4. In the left sidebar, under Source Control, click DVCS Accounts.

  5. Click Link Bitbucket or GitHub account.

  6. Under Host, choose GitHub Enterprise from the dropdown menu.

  7. Under Team or User Account, type the name of your GitHub Enterprise account.

  8. Under OAuth Key, type the "Client ID" shown for the developer application you created earlier on GitHub Enterprise.

  9. Under OAuth Secret, type the "Client Secret" shown for the developer application you created earlier on GitHub Enterprise.

  10. If you don't want to automatically link new repositories owned by your GitHub Enterprise account, unselect Auto Link New Repositories.

  11. If you don't want to enable smart commits, unselect Enable Smart Commits.

  12. Click Add.

  13. Review the permissions that you are granting to your GitHub Enterprise and click Authorize application.

  14. If necessary, type your password to continue.

Your repositories should now be listed on the DVCS Connector page.

Further reading/viewing