GitLab
Last updated
Last updated
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:
Link Qase test cases, test runs, and defects to GitLab issues.
Create a new issue in GitLab when you file a defect during a test run in Qase
Execute automated runs in GitLab from a Qase.
For installation, you will require GitLab URL
and the Access token
.
First, sign-in to your GitLab account and navigate to the Preferences
from the profile menu:
Go to the Access tokens
page:
To create a new Personal Access Token
, select the scope api
and click on the Create Personal Access token:
Copy your token to clipboard.
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)
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
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:
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.
Defects can be linked to a GitLab issue, from the Defect Dashboard.
Under the "External Issues" section, select the GitLab app to proceed.
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