Skip to content

Add additional Merge Requests project option for creating them without labels (No Label) by default

Problem to solve

Now, all issue's labels are copied to their merge requests. Sometimes it's not convenient for special workflows.

There are a few teams that remove all labels for new merge requests. They have to clean labels either via web UI setting "No Label" option (in the Labels drop-down list) or via API (webhooks, shell scripts, etc.)

Intended users

Developers, Product Managers

User experience goal

The user should be able to use Project Setting to choose what is the default behavior for new merge request
(checkbox "with issue labels" or "without labels at all")

Also, I'd like to have Push option for removing labels from MR.

Proposal

Add one more additional checkbox into "Merge requests" section of General project setting:
image

Further details

I create merge requests via push options, and I don't want to waste time deleting labels via Web UI or API

Permissions and Security

Don't know

Documentation

Don't know

Availability & Testing

Don't know

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

We put this option and when we create new merge request (via Web UI and API) - it has no labels.

What is the type of buyer?

Don't know

Is this a cross-stage feature?

Don't know

Links / references

https://docs.gitlab.com/ee/user/project/settings/#merge-request-settings

https://docs.gitlab.com/ee/user/project/push_options.html#push-options-for-merge-requests

Edited by Artem Hotenov