A GitLab integration can do two things, and you choose which when you connect it: file defects as GitLab issues, and run CI pipelines from automated test runs.
Choose what the integration does
Section titled “Choose what the integration does”Under What should this integration do?, tick one or both:
- Issues — file defects as GitLab issues and keep their status in step.
- Pipelines — run pipelines from automated test runs and import their results.
At least one is required. Turning Pipelines off later warns you that test runs using it will report automation as unavailable until it is turned back on.
Where is your GitLab?
Section titled “Where is your GitLab?”This decides how you can authenticate.
gitlab.com — you can authorize, or use a personal access token.
Self-hosted — personal access token only. Authorizing would need an OAuth application registered on your own instance, so the choice collapses to a token and Hawzu says so.
Connect
Section titled “Connect”-
Open the workspace Integrations page and select Add Integration.
-
Search for GitLab and select it.
-
Choose the capabilities, add a name, and set the project scope.
-
Under Where is your GitLab?, choose gitlab.com or Self-hosted.
-
Choose how to authenticate, then complete the fields:
- Authorize with GitLab (recommended) — “No token to create or paste, and the grant is scoped to Hawzu.” Select Authorize with GitLab and approve on GitLab; you are returned automatically.
- Use a personal access token — “For a service account, or where authorizing is not an option.” Enter the Instance URL (for example
https://gitlab.example.com) and an Access token beginningglpat-. The token needs theapiscope.
-
Choose the projects this workspace uses. See Repositories and Projects in Use.
-
If you enabled Issues, set the project and label defaults Hawzu uses when it creates GitLab issues from defects — see Configure Issue Creation.
Permissions
Section titled “Permissions”Authorizing requests the api scope and nothing else. GitLab has no per-feature scopes, so there is no narrower grant to ask for.
Authorized tokens lapse after two hours. Hawzu refreshes them automatically, so nothing needs re-authorizing on a schedule.
After connecting
Section titled “After connecting”The integration shows an Authorized or Access token badge alongside Issues and Pipelines badges for the capabilities it has. A Projects in use card lists what test runs will offer, with Manage to change it. Re-authorize re-runs the grant if it is ever revoked on GitLab.
If access to a project is later withdrawn, the integration moves to Needs attention and names the projects that went missing.