OpenProject and GitLab integration

Connecting self-hosted GitLab to OpenProject so merge requests, pipelines, branches and commits appear on work packages, with the method, permissions and checks a team needs before building it.

On this page

What an OpenProject and GitLab integration does and which method applies

Developers keep code, merge requests and pipelines in self-hosted GitLab, while planners track the same work in OpenProject. The goal is to see GitLab activity such as merge requests, pipelines, branches and commits directly on the matching work packages. The first decision is the method. The supplied documentation does not describe a packaged GitLab connector for OpenProject. OpenProject's documented code hosting integration is with GitHub, covered in the OpenProject and GitHub integration topic. A GitLab link therefore has to be built from GitLab webhooks that send events to a receiver you run, which then calls the OpenProject API v3 to attach activity to work packages. Confirm current OpenProject support for GitLab with the vendor before you scope anything, because a future release could change what is packaged.

A custom link has a few parts you need to plan for. A receiver service accepts GitLab webhook events and checks each request against a secret token before it trusts the payload. The receiver then needs to find the work package a merge request or commit refers to, which usually means agreeing on a reference format in branch names, commit messages or merge request titles and checking that format on every event. It also needs an OpenProject user with only the permissions required to read and comment on work packages in the relevant projects, and a credential that can be rotated and revoked. Each of these parts adds ongoing maintenance: the receiver is software you own, and it must be updated alongside GitLab and OpenProject.

Before building, run a short check on your own instances. Confirm which GitLab edition and version you run, because webhook fields and the upgrade stops you must follow are set by GitLab's maintenance policy and upgrade paths. Confirm the OpenProject release and whether its API v3 exposes the work package and comment operations your design needs. Decide who owns the receiver, where it runs inside your network, and how its logs will be retained. Ask the partner or your own developers to write down the reference format and the permission set in a short design note, and review that note with your security team before any events are sent.

Prerequisites for an OpenProject and GitLab integration

The integration depends on decisions made before any webhook is configured: which OpenProject and GitLab versions you run, whether OpenProject accepts the API credentials the integration needs, and whether GitLab can reach and trust the OpenProject endpoint. Confirm these six items with your platform owners so the build starts from a known state.

OpenProject release line and edition

Record the exact OpenProject version and edition you run, and plan to stay on a supported release line during the build. OpenProject 17.9.0 was released on September 30, 2026 and 17.9.2 on October 15, 2026, so check whether your instance is on the same line the integration guidance targets. Confirm with your OpenProject administrator whether you run Community or Enterprise, because the plan determines which API access options are available to you.

OpenProject release notes

GitLab tier and version

Confirm the GitLab tier (Free, Premium or Ultimate) and the exact self-managed version, since the webhook events and CI/CD details available to you depend on the tier. Note the upgrade stop that applies to your version, because an upgrade during the build may need to pass through a required stop. GitLab currently maintains 19.5, 19.4 and 19.3, so check whether your instance is in a maintained line.

GitLab maintenance policy

OpenProject API access and admin switch

Confirm whether your OpenProject administrator has enabled personal API tokens, and which account will own the credentials GitLab uses to write back to work packages. The chosen method may need an Enterprise plan or a particular admin setting, so confirm the Community or Enterprise requirement for that method before you commit to it. Decide now whether the integration runs under a named service account with the least permissions needed on each project.

Network path from GitLab to OpenProject

Map the path from the GitLab instance, and from any GitLab Runner that calls OpenProject, to the OpenProject hostname and port. Check firewall rules, proxies, DNS resolution and any egress restrictions, especially in segmented or air-gapped networks where GitLab runs without internet access. Confirm which direction traffic flows for each feature, since webhooks from GitLab reach OpenProject while some references are resolved through API calls.

TLS certificates trusted by GitLab

Confirm that the OpenProject certificate chains to a certificate authority that GitLab trusts, including any internal CA used in your organization. Self-signed or privately issued certificates that GitLab cannot validate will cause webhook deliveries to fail silently or with TLS errors. Plan who renews the certificate and how a renewal is tested against the integration before it expires.

GitLab and OpenProject projects in scope

List the GitLab projects whose merge requests, pipelines, branches and commits should appear on work packages, and the OpenProject projects that own that work. Agree which project maps to which, who approves that mapping, and how work packages are referenced in branch names and commit messages. Keeping the scope written down prevents events from unrelated repositories appearing in the wrong project.

How a GitLab event reaches an OpenProject work package

The flow starts when a developer pushes a branch or opens a merge request in self-hosted GitLab. GitLab sends a project webhook to a receiver inside the client network, which is a component your team builds and operates. The receiver checks the secret token, parses the work package reference from the branch name, commit message or merge request title, and then calls the OpenProject API v3 with a scoped token to add a comment or link. Check the trust boundary at each hand-off: the receiver should be the only component holding the OpenProject token, and it should reject any request that fails verification.

Event path from a GitLab push or merge request to a linked OpenProject work package.

Setup sequence for the OpenProject and GitLab integration

This sequence connects self-hosted GitLab events to OpenProject work packages in an order that keeps credentials scoped, the receiver under your control and every link verified before real merge requests flow through it.

  1. Agree the work package reference convention

    Before any code changes, the product owner and lead developers agree how a branch name, commit message or merge request title points to an OpenProject work package, for example by placing the work package ID in the branch name or in a commit message prefix. Write the rule down, decide whether it is required on every merge request, and list the projects in scope. The step is done when a team member can take any open merge request and name the work package it belongs to using only the agreed convention.

  2. Create a dedicated OpenProject service account

    An administrator creates a separate user for the integration rather than reusing a personal account, then adds it to only the projects that need GitLab activity and assigns a role that allows it to view and comment on work packages. Confirm in your OpenProject version which permissions the role needs, since these can change between releases. The step is done when the account can see a test work package in each in-scope project and cannot open projects outside that list.

  3. Issue and store the API token securely

    Sign in as the service account, generate an API token and store it in your secrets manager or in a root-readable environment file on the receiver host, never in the GitLab project settings or in source control. Note the token's creation date and owner in your inventory so rotation is tracked. The step is done when a test request to the OpenProject API with that token returns the service account's own user record and a request with a deliberately wrong token is refused.

  4. Deploy the receiver on a host you control

    Install the webhook receiver on a server inside your network that can reach both your self-hosted GitLab and your OpenProject instance, running it under a dedicated system user with TLS in front of it. The receiver parses incoming GitLab events, extracts the work package references from the agreed convention and calls the OpenProject API. Confirm network paths in both directions with your network team. The step is done when the receiver's health endpoint responds over HTTPS from the GitLab host and the OpenProject host can be reached from the receiver.

  5. Configure GitLab project webhooks with a secret token

    In each in-scope GitLab project, add a webhook that points to the receiver and enable only the merge request, pipeline, push and tag events. Set a long random secret token in the webhook and store the same value in the receiver's configuration. Keep SSL verification enabled so GitLab checks the receiver's certificate. The step is done when GitLab shows the webhook as configured and its built-in test delivery for each event type reaches the receiver and is logged there.

  6. Verify the secret token rejects unsigned requests

    Send a request to the receiver that mimics a GitLab event but carries a wrong or missing secret token, and confirm the receiver refuses it with an error response and writes nothing to OpenProject. Then confirm that a request with the correct token is accepted. This check protects the receiver from anyone on the network who learns the endpoint address. The step is done when the rejected request appears in the receiver log with no matching change in OpenProject, and the accepted request is processed.

  7. Send test events to a test work package

    Create a disposable test work package in OpenProject, then open a test branch in GitLab with the agreed reference, push a commit, open a merge request, run a pipeline and create a tag. Watch each event land as an activity entry or comment on the test work package. Check that the entries show the correct author, link and status and that events with no reference are ignored. The step is done when every event type appears once on the test work package and an event without a reference creates no entry anywhere.

  8. Document, monitor and plan token rotation

    Record the webhook endpoints, the service account, the event types, the secret token location and the owner of each in a runbook, and set up alerts on receiver errors and failed OpenProject API calls. Agree who rotates the API token and the webhook secret, and how often, with your security team. Confirm the upgrade path for both GitLab and OpenProject, since GitLab requires stops at defined versions. The step is done when the runbook is reviewed by the team and a failed delivery produces an alert that someone receives.

How GitLab objects map to OpenProject work packages

This table compares each GitLab object with the OpenProject work package element it can update and the decision your team must confirm before go-live. Read each row as a question: what is written, where it lands and which account must hold the permission. The main takeaway is that field-level updates depend on the OpenProject version, the roles in your environment and the custom fields you configure, so confirm them in a test instance first.

GitLab objectWhat reaches the work packageDecision to confirm
Reference formatA work package ID placed in the merge request title, branch name or commit messageConfirm the exact syntax your OpenProject version expects, since a mismatched format causes silent misses
Merge requestA comment on the referenced work package, with a status or custom field change only where configuredWhich merge request events post comments and which change fields, and under which role
PipelineA comment with the pipeline result, or a custom field update if one existsWhether only failed pipelines post, to avoid noise on the work package
BranchA visible link or mention when the branch carries a work package referenceWhether branch creation is linked or only commits and merge requests are
CommitA comment with the commit message and author on the referenced work packageCommits without a reference are ignored, so agree the convention with developers
UserMatched to an OpenProject user by email address or usernameA fallback for unmatched users: skip the event, post under a service account or map the user manually

Choosing between a custom receiver, a manual link and a packaged connector

A custom receiver is a small service your team or a partner builds. It accepts GitLab webhook events, reads the OpenProject work package reference in each event, and writes the result to OpenProject through the API v3. It is the only one of the three options with full event coverage, because you decide which merge request, pipeline, branch and commit events map to which work package updates. The code, its runtime and its credentials then become part of your estate.

  • Effort drivers: the number of event types you handle, how references are parsed from branch names, titles and commit messages, the permissions granted to the service account, and how webhook secrets are stored and verified.
  • Upgrades on both sides: GitLab ships a major release yearly, a minor release monthly and patch releases twice a month, and it requires upgrades to pass through upgrade stops. OpenProject releases on its own cadence, so each receiver needs regression tests against both systems.
  • Failure ownership: the team that wrote the receiver owns lost webhooks, retries, dead-letter handling and out-of-sync work packages.
  • Security scope: the receiver holds a credential that can write to OpenProject, so it needs its own access controls, logging and rotation.

Before you commit, check whether the receiver has a queue and retry logic, who holds the service account, and which team is on call when a webhook fails.

Security settings for the OpenProject and GitLab integration

The integration sends GitLab activity into OpenProject, and anything sent there is visible to people who can see the target work packages. The cards below cover the identity, transport, network, logging and source-instance controls that keep that flow narrow and verifiable, and the visibility review that should happen before the first event is sent.

Dedicated least-privilege OpenProject account

Create a separate OpenProject user for the integration, not a personal or administrator account. Grant it only the project memberships and work package permissions needed to read and update the projects that receive GitLab events. Issue its API token with a defined expiry and rotate it on a schedule, and rotate immediately when a team member who knew the token leaves. Confirm with your OpenProject administrator which token type your edition and settings allow for this account.

Nextcloud integration docs

GitLab webhook secret token checks

Set a unique secret token on each GitLab webhook and store it in your secrets manager, not in the project description or a shared spreadsheet. The receiver must compare the token GitLab sends in the request header against the stored value on every request and reject mismatches before any parsing or forwarding. Use a different token for each webhook target so a leak can be traced and revoked without breaking other projects.

TLS on the receiver and OpenProject endpoint

Serve the receiver over HTTPS with a certificate from your internal or public CA, and make sure GitLab trusts that certificate chain if it is internal. Call the OpenProject API only over HTTPS, and disable any plaintext fallback in the receiver's configuration. Verify certificate validation is on in both directions, since disabling it to get a connection working is a common way these links end up exposed.

Egress rules limiting the receiver

Restrict the receiver's outbound traffic so it can reach only the OpenProject API host and port, plus the DNS and time sources it needs. Block access to cloud metadata endpoints, other internal services and the internet. If the receiver is compromised, these rules limit what it can reach with the stored OpenProject token. Test the rules from the receiver host, because the allowed path should work and the blocked paths should fail.

Logging events without source code

Log each received event with its type, project identifier, delivery ID, timestamp and outcome (forwarded, rejected for a bad token, or failed upstream). Do not log webhook bodies, diffs, commit messages from private projects or file contents, because those may contain secrets or confidential material. Set a retention period for these logs that matches your policy, and restrict read access to the team that operates the integration.

GitLab instance hardening

The integration is only as trustworthy as the GitLab instance sending events. Follow GitLab's hardening guidance for self-managed instances, including authentication settings, access controls and outbound request restrictions. Review which users can create or edit webhooks in each project, since anyone with that permission can point events at a new destination. Keep the instance on a supported upgrade path so security fixes are applied.

GitLab hardening docs

Common failures when linking GitLab to OpenProject

This table pairs each common failure in a GitLab to OpenProject webhook link with its likely cause and a check the team can run. Read each row as a triage path: confirm the symptom in the delivery log first, then work through the cause and fix. The main takeaway is that most failures trace to certificates, reference conventions, token roles, account matching or upgrade sequencing, and each can be tested without guessing.

SymptomLikely causeFix and check
Webhook deliveries fail with TLS or certificate errorsGitLab does not trust the internal certificate authority that signed the OpenProject certificate, or the chain is incompleteRun a TLS handshake test from the GitLab host to the OpenProject URL and confirm the full chain. Add the internal CA to the trust store GitLab uses, then resend a test event from the webhook settings page.
Events arrive but no matching work package is foundCommit messages, branch names or merge request titles do not use the agreed work package reference convention, or the project identifier differsPick one reference format and document it. Check a sample of recent commits and branches against it, then confirm the OpenProject project identifier matches the one in the reference.
Duplicate comments appear on work packagesGitLab retries a delivery that OpenProject already processed, usually after a timeout or non-2xx responseCompare the delivery ID in GitLab's webhook history with the received events. Make the receiver respond quickly with success, and confirm the receiving side deduplicates on the delivery identifier.
API calls return 401 or 403The token has expired or was revoked, or the user behind it lacks the role needed to add comments or change work packages in that projectCall the API with the same token against a single work package and read the status code. For 401, reissue or replace the token. For 403, check the role in each affected project, not only the global one.
GitLab users are not matched to OpenProject accountsThe account email differs between systems, or the OpenProject user is locked, invited but not activated, or missing from the projectList GitLab users with recent activity and look up each email in OpenProject. Align the email addresses or add a documented mapping, and confirm each user is an active project member.
Events are lost during a GitLab or OpenProject upgradeThe receiver was offline or its URL, token or secret changed during the upgrade, or the upgrade crossed a required stop without a planned windowBefore upgrading, record the webhook list and secrets, and check the release notes and GitLab upgrade path for required stops. After the upgrade, send test events and compare recent GitLab delivery history with OpenProject activity.

Questions teams ask before building an OpenProject and GitLab integration

Does OpenProject ship a packaged GitLab connector?

The supplied research does not confirm a packaged, one-click GitLab connector in OpenProject, so treat any build as custom work until you verify it. Confirm the current options in the OpenProject documentation and its release notes before you plan the budget. The pattern most teams use is a GitLab webhook that posts events to a small receiver, which then calls the OpenProject API v3 to write comments or links on the matching work package. Ask your delivery partner to show which parts of the design rely on built-in features and which are custom code, because that split drives both cost and long-term upkeep.

What drives the cost and effort of a GitLab to OpenProject integration?

The main drivers are the event scope, the number of projects, how user identities are matched, and the upgrade load. Each extra event type, such as merge requests, pipelines, branches and commits, adds mapping rules and test cases. Every project needs a rule that links it to the right OpenProject project, and identity matching decides how GitLab authors map to OpenProject users. One-time costs cover design, build, testing and handover. Recurring costs cover hosting the receiver, watching GitLab and OpenProject release cycles, and fixing the integration after each upgrade. When you request a quote, ask for each event type, the project mapping method, the identity rules and the upkeep terms as separate line items.

How long does it take to build the integration?

The duration depends on the scope you agree in writing, so there is no fixed timeline to quote here. A narrow build that links merge requests to work packages for a few projects takes less time than a build that also covers pipelines, branch naming rules, commit references and many teams. Ask for a timeline that lists the design, build, test and rollout phases with a named owner for each, and ask what must be ready before work starts, such as test projects and GitLab access. Plan a pilot with a small group of projects before you extend it to the rest of the organization.

What does the client need to provide for this work?

You need four things: GitLab administrator access to create the webhooks and any service account, OpenProject administrator access to create the API credentials and configure projects, a host for the receiver service, and named owners on both sides. The receiver should run in your infrastructure, so decide where it will sit, how it reaches GitLab and OpenProject, and which secrets store will hold its tokens. Named owners should approve the event rules, the identity mapping and the test results. Without these owners, decisions stall and the integration drifts from how teams actually work.

Can our in-house team build this integration themselves?

Yes, if your team has engineers comfortable with webhooks, REST APIs, secrets handling and the operations of a small service. The work is a set of defined tasks rather than a platform rebuild, so the skill gap is usually in testing, security review and long-term upkeep. Check whether your team has someone who can own the receiver after launch, handle GitLab and OpenProject upgrades, and review the token permissions. DeployOpen can plan, implement, test and document the integration in your infrastructure, and it can support it under a retainer. Compare that option with your team's capacity over the next several release cycles.

Do we need an OpenProject Enterprise plan to use the API for this?

The supplied research does not confirm which API features require an Enterprise plan, so verify this against the OpenProject pricing page and your target edition before you buy. Enterprise features the research lists include single sign-on, LDAP group synchronization and custom branding, but API access is not among them in the supplied facts. Confirm with OpenProject that your chosen edition allows the API token and webhook behavior your design needs. Put that confirmation in the written scope so the licensing question does not surface during the build.

How do GitLab upgrades affect the integration after launch?

GitLab ships a new minor release each month and requires upgrades to pass through defined upgrade stops, so the integration needs a regular review. Confirm which GitLab version you run, check the upgrade path before each step, and test webhook payloads after every upgrade because event fields can change. Also track OpenProject releases, since API behavior can shift between versions. Agree on who tests and signs off each upgrade, and ask any partner how the upkeep is priced and scheduled before you commit to the build.

How DeployOpen scopes, builds and supports the GitLab link

DeployOpen plans, builds, documents and supports the OpenProject and GitLab link inside your own infrastructure, so the webhook path, the service account and the permissions are reviewed before anything reaches production. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.

How we scope

  • Confirm which GitLab edition and version your self-managed instance runs, and which OpenProject edition and release you operate.
  • List the projects, groups and work package types that should receive merge request, pipeline, branch and commit events.
  • Agree in writing which permissions the service account needs, and which projects and repositories fall outside the link.

How we build

  • Configure the GitLab webhooks and the OpenProject receiving side, then test each event type against a non-production project first.
  • Set up the work package reference convention in branch names, commit messages and merge requests, and document the exact format teams must use.
  • Verify that webhook secrets, TLS and network paths between GitLab and OpenProject are set up as agreed, with test evidence recorded.

How we hand over

  • Deliver the configuration, the permission model, a test log and step-by-step runbook for administrators and project leads.
  • Walk your platform and project teams through how links appear on work packages and what to do when an event does not arrive.
  • Document the upgrade checks to repeat when GitLab or OpenProject moves to a new release, including the GitLab upgrade stops in your plan.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retainers can cover re-testing the link after each GitLab patch or OpenProject release, based on the agreed scope.
  • Ask any provider to confirm which GitLab and OpenProject versions their support covers and how incidents are escalated.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.