This process requires an existing GitHub Enterprise account.
On your Jira Server dashboard menu, go to Git > Manage Git Repositories.
The git configuration page for connecting repositories is displayed.
On the Auto-connect integration panel, click GitHub Enterprise.
The following screen screen is displayed:
For the Host URL, enter the address of the GitHub Enterprise server.
Enter login credentials as required.
Complete the requirements for each step of the Connect to Git Repository wizard.
If your git url contains multiple repositories, it will be added as tracked repositories in the git configuration list. Otherwise, a git repository is added instead.
Repositories added or removed from GitHub will be likewise added or removed from Jira Server.
We recommend using a "service user" in GitHub (example: "GitIntegrationforJira") to be used to integrate GitHub with the Git Integration for Jira add-on. This dedicated "service user" will allow the GitHub administrator to set permissions so the add-on clones only the desired repositories.
Assign GitHub permissions for team members or collaborators to allow which resources are accessible for service users. This feature is only available in a GitHub Organization.
For more information, see Access Permissions on GitHub.
To give a member additional access, they must be added to a team or make them collaborators on individual repos.
Set default repository permission for the current team:
Assign members to a team on your GitHub repository:
For more information on organization teams, see GitHub: Organizing Members into Teams.
For more information on inviting collaborators, see Inviting Collaborators to a Personal/Organization Repository.