Connect specific single git repositories to Jira by performing the following steps:
Click on the Single git repository integration panel.
Enter the HTTPS repository git clone URL into the Host URL field. The login form automatically appears if the provided URL requires HTTP credentials. Provide login credentials as required.
If two-factor authentication is enabled in your git host service account, enter the personal access token as the password.
Enter the SSH repository git clone URL into the Host URL field. The input form for SSH private key is automatically displayed if the provided URL requires SSH credentials.
Upload the private key file by clicking Upload Key File and navigate to the private key file. Otherwise, paste the private key text into the provided box.
When setting up repositories with the Git Integration app, you need to have the necessary access permissions on the private key in the Git server to proceed.
For establishing safety connection with SSH, upload a public Key to the SSH server and set the private Key to the SSH client.
If the generated SSH key pair has a passphrase, enter the Passphrase for your private key.
Click Add integration to complete this setup.
Finally, after completing the setup, the wizard will index the git repository to build change history. This completes the setup and the newly added repository appears on the integration list in the Manage integrations page.