After releasing the support for integration with Gitlab SaaS as defects manager , TestCollab now offers integration with Gitlab self-managed instances as well to automatically report an issue in Gitlab in the event of a test case failure.
In order to use the feature you would be adding a new application on your Gitlab instance to allow access to TestCollab.
Adding an application on Gitlab
For this the access to admin area would be required, in admin area:
Switch to Applications
Opt to add a "New application"
Provide a Name to identify the new application
The Redirect URI must have the value - https://testcollab.io/im_integration/oauth_callback/
The scopes for api and read_user must also be granted
On submitting the form, user will be redirected to application details page
Copy the values for Application ID and Secret as they will be required during configuration in TestCollab
Connecting with Gitlab self-managed instance in TestCollab
You must have an administrator's privileges to perform these:
Open the project that needs to be configured to use Gitlab self-managed instance
Navigate to Settings > Defects
Enable Defects Management
Select Gitlab as issue manager
Check "Enable this to enter self hosted instance details".
Provide the values for Application ID and Secret that we copied from the new application created in Gitlab
Instance URL should be the one you use to access your Gitlab self-managed instance
The next steps, right from signing-in to Gitlab, to configuring the settings and to reporting defects in Gitlab are identical to the ones we follow while integrating Gitlab SaaS