# Feature OP-17416 - Domain change of gitlab led to 100s of dead links because of hardcoded domain in the database entries of gitlab integration

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-17416

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Integrations / GitLab |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As a** self-hosting GitLab administrator,

**I want to** be able to update all stored GitLab integration links when changing the instance domain,

**so that** links to issues, merge requests, and other entities remain functional and the system retains its value after a domain migration.

### **Acceptance criteria**

*   A tool, script, or documented process exists to update all stored links containing the GitLab domain across all relevant database tables.
    
*   The solution must handle all integration-created links (e.g., issues, MRs, pipelines, webhooks, etc.).
    
*   The solution must be safe to run on production data and provide a way to preview changes before applying.
    
*   The solution should not require modifying application code or re-installing integrations.
    

###   

### **Technical notes**

*   Links are currently hardcoded with the domain in the database.
    
*   The feature could be a rake task, SQL migration script, or admin UI option.
    
*   GitLab integrations and projects may have references stored in various tables. Documentation should include which tables are affected.
    

###   

### **Permissions and visibility considerations**

**To whom is this feature visible?**

*   OpenProject administrators
    

<br>

### **Out of scope**

*   Automatic detection of domain changes.
    
*   Backward compatibility for both old and new domains (redirects or proxying).
    

<br>

<br>

<br>
