SSH git repositories can be integrated with Jira Cloud via Git Integration for Jira app.
-
Generate an SSH key pair. We recommend to generate a 4096-bit key.
-
Obtain the SSH git clone URL from your git host repository page.
-
On your Jira Cloud dashboard, go to menu Apps ➜ Git Integration: Manage Git repositories. The following screen is displayed.
-
On the Full feature integrations panel, click Git. The Connect to Git Repository wizard is displayed.
- Paste the clone URL into the Remote Git URL field.
-
Click Next. The following screen is displayed.
-
Paste the private SSH key on the provided box or click Upload Key File to upload a private SSH key file.
-
Enter the Passphrase of the private SSH key, if any. Otherwise, leave it blank.
-
-
Click Connect to complete this setup.
The connected repository is listed in the git configuration page.
For Jira Cloud integration, we recommend to use the Auto-connect integration panel for connecting git repositories. It supports multiple git repository connections and provides additional features that are not present in SSH integration.