GitLab with Redmine as the external issue tracker

Linking GitLab projects to Redmine so commits and merge requests reference Redmine issues, with GitLab's internal issues turned off. This page covers the settings, the reference formats, and where the work tends to fail.

On this page

How GitLab's Redmine integration links code work to Redmine issues

When planning lives in Redmine and code lives in GitLab, the supported way to connect them is GitLab's built-in Redmine integration. It links issue references in commits, merge requests and comments to Redmine issues, so a developer who writes a reference sees a clickable link back to the ticket. The integration requires GitLab's internal issue tracking to be turned off for each project that uses it, because GitLab would otherwise treat a reference such as #42 as one of its own issues. Plan that switch before anyone relies on the links, since existing internal issues stay where they are and are no longer the tracker the project shows.

The scope is narrower than many teams expect. The integration connects references and provides links from GitLab to Redmine. It does not synchronize fields such as status, assignee, priority or comments in both directions, so a ticket closed in Redmine does not close in GitLab, and a merge request does not update the Redmine status on its own. Decide early which team owns status changes and whether a workflow rule in Redmine or a separate automation will carry that work. The integration is configured per GitLab project, with a Redmine project URL and an issue URL that contains :id, so each code project needs its own setup and an owner who knows which Redmine project it maps to.

Confirm the exact settings, supported GitLab tiers and any limits against the GitLab Redmine integration documentation for your GitLab version before you configure a production project. Test one project end to end with a commit, a merge request and a reference in both formats before rolling the pattern out, and document which reference format each team should use.

What you need in place before connecting GitLab to Redmine

The link between GitLab and Redmine depends on a few things being settled before anyone edits integration settings. Most failed connections trace back to an unreachable Redmine, a certificate GitLab does not trust, or a project identifier that does not match. Work through these items in order, and record the answers for each project you plan to link.

A reachable Redmine with a known identifier

Confirm the Redmine base URL and the exact project identifier (the slug in the project URL) for every project GitLab should link to. The GitLab project URL points at the Redmine project, and the issue URL template must contain :id, which GitLab replaces with the issue number. Test the template by opening one real issue URL in a browser before entering it in GitLab.

GitLab Redmine docs

Maintainer or Owner rights in GitLab

Changing integration settings requires Maintainer or Owner rights on each GitLab project. Confirm who holds those rights before the change window, and list the projects where the person doing the work does not have them. Record this as a decision, since integration ownership usually sits with a platform or tooling team rather than individual developers.

A GitLab edition with the integration

The Redmine integration is available in the Free, Premium and Ultimate tiers on GitLab.com, Self-Managed and Dedicated. Confirm which tier and deployment type your organization runs, since the integration itself does not depend on a paid tier. Plan the rest of your GitLab budget separately, because the tier you need for other features may differ.

Network path and TLS trust

GitLab must reach the Redmine URL over the network, and its TLS client must trust the certificate chain. If Redmine uses a private certificate authority, add that root or intermediate certificate to the GitLab trust store on every GitLab node that calls Redmine, then test from those hosts. Check firewall rules, proxies and DNS resolution from the GitLab side, not from your workstation.

Internal issue tracking turned off

GitLab requires its internal issue tracking to be disabled for each project that uses Redmine. Before disabling it, check for open internal issues, links from merge requests and saved searches that depend on them. Decide whether historical GitLab issues will be migrated, archived or left read-only, because turning off the feature hides them from the project's issue list.

Agreed issue reference format

Decide whether commits and merge requests will reference Redmine issues as #ID or as PROJECT-ID. The longer format avoids clashes when internal issues remain enabled elsewhere, so agree on it with developers before the first commit. Also note that Redmine access for anyone following these links is governed by Redmine roles and permissions, not by GitLab membership.

Configuring the Redmine integration in GitLab, step by step

This sequence connects a GitLab project to a Redmine project so that issue references in commits and merge requests resolve to Redmine issues. Each step closes with a check you can run before moving on.

  1. Choose the issue reference format

    Before changing any setting, decide how your teams will reference Redmine issues. GitLab links Redmine issues written as #<ID> or as <PROJECT>-<ID>. The longer format avoids clashes when GitLab's internal issues stay enabled, so most teams that keep both trackers during transition choose it. Record the decision with the project lead and the Redmine project identifier. Done when the team agrees on one format and writes it into the project's contribution guidance.

  2. Confirm Redmine access for the integration

    Confirm that a Redmine account used by the integration can see the target Redmine project and its issues. The Redmine administrator or project manager should check the role permissions for that account in the Redmine project. Visibility problems here usually show up later as links that never resolve, so test with a known issue number from a user who has the same access as the integration. Done when that user can open the issue in a browser.

  3. Turn off GitLab internal issues for the project

    In the GitLab project settings, open the issue settings and turn off GitLab's internal issue tracking for the project. GitLab requires this step for the Redmine integration, so do it before you configure the integration itself. Note that turning off internal issues hides the existing issue list for that project, so communicate the change to contributors first. Done when the project's issue tracker is disabled and the sidebar no longer offers the internal issue list.

  4. Enter the Redmine project and issue URLs

    In the project's integration settings, select the Redmine integration and enter the project URL for the Redmine project. Then enter the issue URL, which must contain :id as the placeholder for the issue number. GitLab uses this pattern to build links to issues. Exact field names and placeholder rules can change between GitLab releases, so confirm them against the integration documentation for your GitLab version. Done when the form accepts both URLs without validation errors.

  5. Set the reference pattern and project identifier

    Set the reference pattern so that GitLab recognizes the format chosen in the first step, either the bare #<ID> form or the <PROJECT>-<ID> form. If you use the longer form, the project key in the reference must match the Redmine project identifier exactly. Check the field names and any case rules in the GitLab documentation for your version. Done when the saved settings match the format your team agreed to, and the project identifier in the reference matches Redmine.

  6. Save and enable the integration

    Save the integration and confirm that it is active for the project. Some settings only take effect after saving, so reopen the page to check that the URLs and reference pattern persisted. If the form reports a connection or URL problem, correct the value and save again rather than changing other settings at the same time. Done when the reopened form shows the same values you entered and the integration is listed as active.

  7. Test with a commit and a merge request

    Create a test branch and commit a change whose message references a known, open Redmine issue in the format you chose. Open a merge request whose description references the same issue. In GitLab, confirm that the commit and merge request show a link to the Redmine issue, and open the link to check that it lands on the correct issue. Use an issue that you can safely reference, and remove the test branch afterward. Done when both links resolve to the right Redmine issue.

  8. Check the Redmine side of the link

    Open the referenced Redmine issue and confirm that the commit or merge request appears in its history if your Redmine setup records references that way. Then check the Redmine repository view for the same project, because repository changesets come from the repository fetch process and not from GitLab. If commits do not appear in Redmine, note that the repository view is a separate step to plan. Done when you have recorded what Redmine shows and which follow-up is needed.

Choosing between #ID and PROJECT-ID issue references

When GitLab internal issues are turned off for a project, the reference question is simpler. GitLab links Redmine issues written as #<ID>, so a commit or merge request that mentions #4821 points to Redmine issue 4821. Nothing else in GitLab competes for that number, so the short form is usually enough for teams that work only in Redmine.

  • Commit messages: a message such as Fix login timeout, refs #4821 links the commit to the Redmine issue.
  • Merge request descriptions: writing Closes #4821 in the description references the issue from the merge request.
  • Single tracker: developers do not need to learn a second numbering scheme.
  • Shorter messages: the short format is easy to type and read in git log.
  • Watch for drift: if internal issues are switched on later, # references can become ambiguous.

Before relying on the short form, confirm in the GitLab project settings that internal issues are disabled, and test one commit and one merge request against a known Redmine issue.

What changes when GitLab internal issues are turned off

Before you switch off GitLab's internal issue tracker for a project, review every open internal issue and decide what happens to it. Once the integration is active, the project's issue list and issue boards are no longer the working place for new work, so anything still open there becomes easy to forget. Export or list the open issues, then assign each one a path: close it, move the work into Redmine by hand, or leave it open with a note that points to the Redmine tracker. Also list the internal issues that other items link to, such as merge requests that close them or other issues that reference them, because those links are the ones most likely to break in people's heads even if the data stays where it is.

Commits and merge requests keep working as a referencing layer, but the reference format changes what GitLab will resolve. Per the GitLab Redmine integration documentation, Redmine issues are linked with #<ID> or <PROJECT>-<ID>, and the longer format is the safer choice if internal issues remain enabled anywhere on the instance. Existing commit messages that cite internal issue numbers are historical text and should not be assumed to link to Redmine. Saved queries, issue templates and labels are GitLab features tied to the internal tracker, so decide whether teams still need them and confirm on your GitLab version how each one behaves once the feature is off. Also confirm with a test project whether previously created links and boards still render, rather than relying on memory of an older release.

Plan the switch as a short, written cutover: a freeze date for new internal issues, the review and migration of open items, a notice to developers and reviewers about where to file work, and a check of the Redmine project's reference settings. Ask your GitLab administrator to confirm what is retained in the database, what becomes read-only and whether any data is removed, since this page does not assume deletion behavior. Keep a record of the decisions for audit and change history purposes, because the people reading the old links later will need to know where the work moved.

How GitLab references and Redmine fields line up

This table maps each GitLab object to its Redmine counterpart and marks whether the link is made by reference only or must be kept consistent by convention. Read it before you set the integration, then confirm each row against your own GitLab and Redmine versions.

GitLab objectRedmine counterpartHow the link worksWhat to confirm in your environment
GitLab projectRedmine project identifierSet by the project URL in the integration settings. GitLab does not read project status or membership from Redmine.Confirm the Redmine project URL resolves for the account GitLab uses, and that the identifier is stable.
Issue reference in a commit messageRedmine issue ID as #<ID>Reference only. GitLab turns the text into a link to the issue URL pattern set in the integration.Confirm the bare #<ID> format is safe for your team, since it clashes when GitLab internal issues are also enabled.
Issue reference using <PROJECT>-<ID>Redmine project identifier plus issue IDReference only. The longer format avoids clashes with internal GitLab issue numbers.Confirm developers use the same prefix as the Redmine project identifier, since a typo produces a link to the wrong issue or none.
Merge request descriptionRedmine issue ID or project-prefixed IDReference only. The link appears in the merge request, but the merge request does not change Redmine fields.Confirm whether your workflow expects the issue to move on merge, which requires a Redmine-side process or a separate automation.
Issue status, tracker and workflowRedmine tracker, status and workflowNot synchronized by the GitLab integration. Changes are made in Redmine, and the reference does not update them.Confirm with your Redmine administrator which trackers and statuses your teams use, and who moves issues between them.
Assignee and visibilityRedmine assignee and issue visibilityNot synchronized. A GitLab user name is not matched to a Redmine user by the reference.Confirm your Redmine role permissions decide who sees linked issues, and align user naming by convention.
Commit author and assignee identityRedmine user accountConsistent by convention only. Names or emails must be matched by your own process.Confirm how developers map their GitLab and Redmine accounts, and whether that mapping is documented.

Keeping Redmine's repository view in step with GitLab

Redmine's repository view is a separate system from GitLab. If you configure a Redmine repository for the same code that GitLab hosts, Redmine does not learn about new commits on its own schedule or on GitLab's. It shows a commit only after Redmine fetches it from the repository it points to. The first decision is therefore whether Redmine should mirror the repository at all. If your team reviews code and tracks work in GitLab, the Redmine repository view may add little beyond a second place to browse history. If stakeholders who work only in Redmine need to see commits next to the issues they track, a mirror is worth the extra moving parts. Confirm which of these people actually need it before you configure anything.

Issue references are the part teams most often expect to work and then find missing. A commit message that contains a Redmine reference such as #1234 is only linked into Redmine's changesets when that repository is registered in Redmine and has been fetched after the commit landed. Redmine also keeps its own changeset history, so commits that exist only in GitLab, such as drafts on feature branches never merged, will not appear unless the repository is fetched from a branch Redmine tracks. Decide which branches Redmine should see, and make sure the reference format you use in commits matches what the Redmine project and the GitLab integration both recognize. Test one commit end to end before rolling the convention out to all teams.

Timing is the next decision, and it is covered in the sibling topic on triggering Redmine repository fetches from Git hooks. Scheduled cron fetches are simple to set up but leave a gap between a push and the moment its changesets appear in Redmine, which can confuse people who reference a commit in an issue right after pushing. A post-receive hook or CI job that asks Redmine to fetch closes that gap, but it adds a credential that must be scoped, stored and rotated. Choose the timing approach after you have settled the mirror decision and the branch scope, and record who owns the fetch job so that a silent failure is noticed.

Securing the link between GitLab and Redmine

The GitLab Redmine integration stores a Redmine URL and credentials inside GitLab, and it sends developer activity into Redmine. Each card below covers one control on either side of that link, so a single weak setting does not expose both platforms.

Dedicated Redmine service account

Create a separate Redmine user for the GitLab integration instead of reusing a personal account. Give it only the project memberships and role permissions needed to view and update the linked issues. If the account is an administrator or can edit every project, a leaked credential exposes all Redmine data, so confirm its role on each linked project before go-live.

GitLab Redmine docs

HTTPS with certificate validation

Use only an HTTPS project URL and issue URL for the Redmine integration, and confirm that the certificate is issued by a trusted authority and matches the host name. Plain HTTP sends the account credentials and issue content in the clear. Ask whether any internal certificate authority needs to be added to the GitLab host trust store, and never switch off verification to get the connection working.

Restricting which GitLab projects can link

Enable the Redmine integration only on projects that should use Redmine, and keep the decision with a named owner. Any project maintainer who can open integration settings can point a project at a Redmine instance, so review the list of projects with the integration active against your approved list. Projects that need Redmine for issues should also have GitLab internal issues turned off, as the integration requires.

Reviewing who edits integration settings

Changing the Redmine URL or the issue pattern changes where GitLab sends links and which Redmine host receives traffic. Limit edit rights for project integrations to a small group of maintainers, and review that group on a schedule. Audit changes to integration settings in GitLab, since a changed URL can silently redirect issue references to a different system.

Redmine role visibility for linked issues

GitLab shows links to Redmine issues from commits and merge requests, and people who can see a GitLab project may then open those references. Confirm that the Redmine role used by the integration cannot expose private issues or sensitive projects to users who only have GitLab access. Test the link as a user with a limited Redmine role before you rely on it.

Keeping both platforms patched

Track the Redmine line you run and the GitLab version on the same schedule, because an unpatched side weakens the whole link. Redmine 7.0.x is the fully supported line, while 6.1.x receives only bug fixes and security updates. GitLab ships patch releases twice a month, so plan maintenance windows that include both platforms and reread the GitLab hardening guidance after each major upgrade.

GitLab hardening guidance

Common GitLab and Redmine linking failures and fixes

This table lists the failures teams most often hit when GitLab is linked to Redmine as an external issue tracker, with the likely cause and the fix for each. Use it as a triage checklist: match the symptom you see, check the cause column first, then apply the fix in GitLab's integration settings or in Redmine.

SymptomLikely causeFix
Issue references do not turn into linksThe reference does not match the pattern GitLab expects, such as a bare number when the project uses the PROJECT-ID formatUse #ID or PROJECT-ID exactly as configured, and confirm the project key in the integration settings matches the Redmine project identifier
Integration will not saveGitLab's internal issue tracking is still enabled for the projectTurn off internal issues for the project first, then save the Redmine integration again
Links open Redmine's login pageThe project URL is wrong, or the user is not signed in to Redmine in the same browser sessionConfirm the project URL points to the Redmine project, then check the user can sign in to Redmine directly
Links return a 404 pageThe issue URL is missing the :id placeholder or the placeholder sits in the wrong part of the pathSet the issue URL so that :id appears where the Redmine issue number belongs, and test one link by hand
TLS or certificate errors on links or in the integration testRedmine uses a certificate from a private certificate authority that GitLab does not trustInstall the internal CA certificate on the GitLab host trust store, then retest the connection from GitLab
Users see the link but not the issue title or contentThe user lacks the Redmine role permission to view issues, or the issue is private or in a project they cannot seeReview the user's role and project membership in Redmine, and confirm the issue is visible to that user
Duplicate or ambiguous matches when both trackers are enabledInternal GitLab issues and Redmine issues share the same #ID format, so one reference can match either trackerUse the PROJECT-ID format for Redmine references, or keep internal issues disabled so only Redmine matches
Redmine repository view falls out of step with GitLab commitsRepository fetches in Redmine run on a schedule and do not pick up new commits immediatelyConfirm the repository is configured in Redmine and check its fetch schedule, then review the fetch method your team uses for near-immediate updates

Questions buyers ask before connecting GitLab to Redmine

Is the GitLab Redmine integration available in my GitLab edition?

Yes, the integration is documented for GitLab Free, Premium and Ultimate on GitLab.com, Self-Managed and Dedicated, so the edition you run does not block it. The edition question matters for other reasons, such as which CI/CD, security and compliance features you need. Confirm the current behavior against the GitLab Redmine integration docs for your exact version before you plan the change, because the setup depends on GitLab's project integration settings and not on a separate license.

What does connecting GitLab to Redmine cost?

The Redmine software itself carries no license fee, since it is free under GPL v2, so the cost comes from the people and infrastructure around it. The main components are implementation labor, hosting for both GitLab and Redmine, and the ongoing time spent maintaining the link after upgrades. The GitLab tier is a separate decision made by the GitLab owner, and its price depends on the plan and user count, which the GitLab pricing page lists. Ask any partner for a quote built from a written scope that separates one-time setup from recurring upkeep.

How long does a typical GitLab to Redmine setup take?

Duration depends on how much of the work is configuration and how much is convention. The integration settings themselves are short, but the time grows with the number of GitLab projects being linked, how many Redmine projects they map to, and whether teams already reference issues in commits. Agreeing on the issue reference format, the Redmine project URL pattern and who approves the switch away from internal issues usually takes longer than the configuration. Ask for a timeline tied to a written scope rather than a generic estimate.

What do we need from our own staff for this work?

Three roles are usually involved. A Redmine administrator creates or confirms the target projects, trackers and the account or API access GitLab uses to read issues. A GitLab owner for each group or project decides when to turn off GitLab internal issues and sets the integration fields. Developers need an agreed convention for writing references in commits and merge requests, so the links resolve consistently. Assign these roles before work starts, because a missing decision in any one of them is the most common cause of delay.

Can our own team set this up without an outside partner?

Yes, a team with Redmine administration skills and GitLab project ownership can configure the integration directly, since it is a settings change plus an agreed reference format. The harder part is deciding what happens to existing GitLab issues when internal issue tracking is turned off, and keeping Redmine's repository view current, which is tied to how repositories are fetched. An outside partner is most useful when that migration policy, the naming convention and the testing across many projects need to be planned and documented for an audit trail.

Does the GitLab Redmine integration give two-way sync?

No, the integration links GitLab to Redmine issues rather than synchronizing them. GitLab shows a link to the external Redmine issue and recognizes references to it in commits and merge requests, but changes to a Redmine issue do not automatically update the GitLab side, and the reverse is also not a full sync. Teams that need status or field changes to flow in both directions need a separate integration or a process that defines which system is authoritative. Confirm the exact behavior in the GitLab Redmine integration docs before you promise it internally.

What breaks if we turn off GitLab issues and keep old references?

Old references can stop resolving to anything useful, and the team may lose track of work that was only recorded in GitLab. Before turning off internal issues, decide whether to close or migrate open items, how historical issue numbers will be referenced, and how the longer PROJECT-ID format will avoid clashes if internal issues stay enabled for any project. Document the decision per project so auditors and developers can trace older work. Test a sample project first to see how existing links appear.

How DeployOpen scopes and delivers the GitLab and Redmine link

DeployOpen approaches GitLab with Redmine as the external issue tracker as a fixed-scope engagement inside your own infrastructure. We agree the projects, issue reference format and repository behavior in writing, then configure, test and document the link before handing it over.

How we scope

  • Inventory which GitLab projects will switch off internal issues and which keep them enabled
  • Confirm the Redmine project mapping, issue ID format and who may reference issues in commits
  • Record the agreed scope, deliverables and timeline in writing before any configuration starts
  • Confirm your GitLab edition and deployment method, since the integration is available on all tiers

How we build

  • Configure the GitLab Redmine integration with the project URL and issue URL containing the ID placeholder
  • Turn off GitLab internal issue tracking only for projects agreed in scope, and test link resolution
  • Test both the #ID and PROJECT-ID reference formats in commits and merge requests on a non-production project
  • Check that Redmine repository changesets keep pace with pushes, including how fetches are triggered

How we hand over

  • Document the integration settings, reference format rules and the projects affected by the change
  • Deliver a runbook covering what to do when Redmine or GitLab URLs change or credentials rotate
  • Walk your platform, Redmine and development teams through how issue references will behave going forward
  • Provide a retest checklist to run after GitLab or Redmine upgrades

How we support

  • Support GitLab and Redmine upgrades for the link, including checks against GitLab required upgrade stops
  • Available as a retainer for ongoing support, periodic review of the integration and continuous testing
  • Confirm with your team which support scope and response expectations apply before the retainer starts
  • Review the link after reference format or project structure changes so issue links remain accurate

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.