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).