It is necessary to understand basic principles. There is either generic Git support with basic Git functionalities but without any advanced integrations like merge requests, branches and so on.
You have to choose proper way based on available options. If Gitlab is hosting intended repositories, you shall use Gitlab auto-connect in Jira Git plugin. Use generic Git connect only in custom and edge cases.
Recommended setup:
service account available for integration purposes
Personal accounts are NOT recommended because integrations usually fail when person changes credentials or leaves the project/company. |
How does it work:
These instructions are made for TDS users. Getting service account into your local Gitlab installations will be similar in principle, however you need to adapt them on your environment. |