5
votes

We have monorepo, my team responsible for 3 of 20 packages/folder of repository, but sometimes we need to touch others packages/folders. For reviewing teammates changes every member should add “team_label” for ability to filter by this label or to keep opened several tabs with merge requests for each author/team member.

Preferable could be filtering MRs something like this by one of the author:

author: username1 OR author:username2 OR author:username3

We are using GitLab Enterprise Edition 12.6.2-ee

upd: discussed in gitlab docs comments and there is no ability to filter merge requests even with advanced search

Advanced Search does currently not have the facets available that you use in the dedicated issue or MR search

https://docs.gitlab.com/ee/user/search/index.html#comment-4776091890

Feature proposal:

https://gitlab.com/gitlab-org/gitlab/issues/7826

1

1 Answers

1
votes

To filter merge request and all the other kind of thing you want to search for you can read this guide on how to search with filters: GitLab Filter Guide

Anyway if you want a quick suggestion you have to go in the "Merge request" section of your sidebar menu. After that, you can see on the upper part of the tables where all the merge request are listed a little search bar that says "Search or filter results..." if you click on that a little dropdown opens up to suggest you how to use the search bar.

To search in a list of all the authors you have to input the following: author: (this will let you see a little dropdown with all the authors) or you can search directly with an author name putting a "@" before his name.

If you want to concatenate more filter criteria you have to put AND or OR as you would do in a SQL query. But anything is well explained in the guide.