Skip to main content

Integration with Gitlab Self-managed Instance as Defects Manager

Hosting Gitlab on premise or at a location other than Gitlab's cloud then read on to know how to integrate it as defects manager

Vishal Vaswani avatar
Written by Vishal Vaswani
Updated this week

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:

Adding an application on self-managed Gitlab instance
  • 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

Did this answer your question?