This process requires an existing GitLab git repository.
On your Jira On-Demand dashboard menu, go to Git > Manage Git Repositories.
The git configuration page for connecting repositories is displayed.
On the Auto-connect integration panel, click GitLab.
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 GitLab.com will be likewise added or removed from Jira Cloud.
The Git Integration for Jira add-on supports v3 and v4 of the GitLab API (in both Jira Cloud and Jira Server).