Skip to content

Manage merge requests

GitLab provides tools for managing merge requests for your project and group.

Delete a merge request

In most cases you should close, rather than delete, merge requests. You cannot undo the deletion of a merge request.

Prerequisites:

  • You must have the Owner role for the project.

To delete a merge request:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Code > Merge requests and find the merge request you want to delete.
  3. Select Edit.
  4. Scroll to the bottom of the page, and select Delete merge request.

Bulk edit merge requests at the project level

You can update these attributes on multiple merge requests at the same time:

  • Status (open/closed)
  • Assignee
  • Milestone
  • Labels
  • Subscriptions

Prerequisites:

  • You must have at least the Developer role.

To do this:

  1. In a project, go to Code > Merge requests.
  2. Select Bulk edit. A sidebar on the right-hand side of your screen appears with editable fields.
  3. Select the checkboxes next to each merge request you want to edit.
  4. Select the appropriate fields and their values from the sidebar.
  5. Select Update selected.

Bulk edit merge requests at the group level

DETAILS: Tier: Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated

When bulk editing merge requests in a group, you can edit the following attributes:

  • Milestone
  • Labels

Prerequisites:

  • You must have at least the Developer role in the project.

To update multiple group merge requests at the same time:

  1. In a group, go to Code > Merge requests.
  2. Select Bulk edit. A sidebar on the right-hand side of your screen appears with editable fields.
  3. Select the checkboxes next to each merge request you want to edit.
  4. Select the appropriate fields and their values from the sidebar.
  5. Select Update selected.

Related topics