GitLab teams deserve the same dev-loop closure
The GitHub integration shipped last week. This week, the same feature is live for GitLab. If your team runs GitLab - self-hosted or gitlab.com - you can now connect any project repository to Decuga and get automatic task transitions and review sub-tasks on every merge request, with zero configuration overhead.
How it works
GitLab sends a webhook event to Decuga on every push and merge request action. Decuga scans the branch name, commit messages, and MR title for task codes (e.g. PROJ-42) and links the artefact to the matching task. Push a branch → task moves to In Progress. Open an MR → a "Review MR" sub-task is created under the parent task, assigned to the MR assignee. Merge or close the MR → the link card updates.
No access token required
For manual setup, Decuga does not need a GitLab access token. All the data we need - branch name, commits, MR title, assignee login, project path - is delivered in the webhook payload itself. The only thing you configure is a webhook secret that authenticates incoming events. This keeps the setup simple and means you have one fewer credential to rotate.
| What Decuga needs | How it arrives |
|---|---|
| Repository name | payload → project.path_with_namespace |
| Branch name | payload → ref (push event) |
| Commit messages + SHAs | payload → commits[] |
| MR title, number, URL | payload → object_attributes |
| Assignee username | payload → assignee.username |
| Webhook authenticity | X-Gitlab-Token header (secret you choose) |
Setup in two steps
The manual setup takes under two minutes: nothing to install, no OAuth to complete, and no token to generate on GitLab. (Prefer fewer clicks? See the one-click option below.)
Install in Decuga
Integrations → Connections → Connect GitLab. Enter a webhook secret (any random string). Copy the Webhook URL.
Add webhook on GitLab
Project → Settings → Webhooks. Paste the URL and the same secret token. Enable Push events and Merge request events.
Push a test branch
Include a task code (e.g. PROJ-1) in the branch name and watch the Development section appear on the task within seconds.
Update: one-click connect for GitLab
Setup got even shorter. Click Connect with GitLab, approve access on gitlab.com, then tick the projects you want - Decuga creates the webhooks for you. Existing manual webhooks are adopted rather than duplicated, and a GitLab project can feed several Decuga projects since each one has its own webhook and secret. One-click setup needs Maintainer access on the GitLab project and currently supports gitlab.com; self-hosted GitLab keeps using the manual steps above.
One merge request, from push to merge
From the task's point of view the story is short. A push with the task code moves the task into progress. Opening a merge request adds a review sub-task for the assignee. Merging or closing the request updates the link card. Nothing needs clicking, and the board stays true to what is happening in the repository.
What GitLab sends and what Decuga does
- 1Push
Branch name or commit carries the task code; the task moves to In Progress.
- 2MR opened
A "Review MR" sub-task is created, assigned to the MR assignee.
- 3Review
The sub-task is on the board and can be commented on.
- 4Merged or closed
The link card on the task shows the final state.
GitHub and GitLab side by side
The two integrations behave the same way once connected. The differences are in setup and in the words used. If your company uses both, you can connect repositories from each to the same project and the board treats their events in the same way.
| GitHub | GitLab | |
|---|---|---|
| What the review item is called | Pull request (PR) | Merge request (MR) |
| Review sub-task title | Review PR: ... | Review MR: ... |
| Who the review sub-task is assigned to | The first requested reviewer | The merge request assignee |
| Manual setup | Webhook URL and a secret you choose | Webhook URL and a secret token you choose |
| One-click connect | Authorise once, then pick repositories | Approve access on gitlab.com, then tick projects; needs Maintainer access |
| Self-hosted | Not applicable to github.com | Use the manual steps; the instance must reach the Decuga webhook address |
If a merge request does not link
When a push or merge request does not show up on the task, check these in order. They cover nearly every case.
- ✓The task code is in the branch name, a commit message or the MR title, in capitals with a number, such as PROJ-42
- ✓The webhook has both Push events and Merge request events enabled
- ✓The secret token in GitLab is the same as the one you entered in Decuga
- ✓The webhook URL is the one Decuga gave you, and your GitLab instance can reach it
- ✓The project is connected to the Decuga project that holds the task
MR vs PR - what changes
GitLab calls them Merge Requests; Decuga shows them labelled as "PR / MR" in the Development panel to make the UI consistent across providers. The review sub-task is titled "Review MR: …" instead of "Review PR: …". Everything else - state tracking (open → merged/closed), task code detection, deduplication - works identically to the GitHub integration.
Self-hosted GitLab
The integration works with self-hosted GitLab instances as long as your instance can reach the Decuga webhook endpoint (decuga.com). No additional configuration is needed.