GitLab

What is GitLab?

GitLab is a web-based DevOps lifecycle tool that provides a Git repository manager providing wiki, issue-tracking, and CI/CD pipeline features.

With Qase’s GitLab integration, you can:

Installation

For installation, you will require GitLab URL and the Access token.

  1. First, sign-in to your GitLab account and navigate to the Preferences from the profile menu:

  1. Go to the Access tokens page:

  1. To create a new Personal Access Token, select the scope api and click on the Create Personal Access token:

  1. Copy your token to clipboard.

  2. On Qase, navigate to the Apps section, find the GitLab app and click Install now.

Here, provide the Access token from the previous step, and URL of your GitLab instance (the field is pre-populated with the default value)

  1. Click the Install button. After a few seconds, you will be redirected to the Apps page with a confirmation message as shown below.

Please note, a Maintainer role is required if you choose to use a Group token

Usage


Linking your Qase Test cases

In your repository, click any test case to open its preview and switch to the Properties tab.

Scroll down to the "Link with Apps" section, and choose the GitLab app. Then, proceed to search and link your issues.

Linked issues can be removed with the ( x ) icon.

2. To unlink the GitLab issue, click "x" next to the card title:

Linking your Qase Test runs

Test runs can be linked to a GitLab issue, from the Run Dashboard.

Under the "External Issues" section, click 'Select an Integration' to proceed. Only one GitLab issue can be linked to the Test run.

Linking your Qase Defects

Defects can be linked to a GitLab issue, from the Defect Dashboard.

Under the "External Issues" section, select the GitLab app to proceed.

Create a GitLab issue from a Qase Test Run

When you assign a negative result to a case during a test run, you will have the option to create or attach a Qase defect.

Additionally, you can select the ‘GitLab’ app from the "Choose Integration" dropdown to either create a new GitLab issue, or link an existing one.

The created or linked issue will be visible in both the defects tab of the test run and the defect section of the project.

  • You can view the link to the GitLab issue in

    • Defects tag of the test run

  • From the Qase defect screen

Last updated