Redefine a CI variable inside a merge request in Gitlab

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Problem to solve

Add a way to (re-)define variables in a Merge Request. The reason is simple: sometimes there can be a need to link two review apps between each other (for example in case of implementing a new feature that involves changes into several applications) and it seems to be the only good way is to redefine a variable with the merge request.

P.S. I tried asking on SO but no reply was given, that may mean that there is no alternative solution so far.

Intended users

  • Developers
  • Testers

Further details

One of the use cases is a possibility to link different review apps between each other using environment variables.

Proposal

We already have a way to (re-)define variables for manual pipelines and for scheduled pipelines. It can be added in a similar manner for Merge Requests.

Permissions and Security

Not sure.

Documentation

Not sure.

Testing

Not sure.

What does success look like, and how can we measure that?

There must be a UI option similar to what we have in manual/scheduled pipelines to define the environment variables letting working in a similar manner.

What is the type of buyer?

CE / Free?

Links / references

Edited Sep 04, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading