Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to filter merge requests by multiple authors?

We have a monorepo, my team is responsible for 3 of 20 packages/folders of the repository, but sometimes we need to touch others packages/folders.

For reviewing teammates changes, every member should add a “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

As 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

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

like image 740
Alex Avatar asked Jan 18 '26 11:01

Alex


1 Answers

Unfortunately to date you can't search merge requests with an OR query - and although gitlab states that successive clauses should be ANDed together a quick test suggests that in fact an arbitrary single clause is applied.

See e.g. https://forum.gitlab.com/t/mr-filtering-by-multiple-authors/33864

like image 78
Tim Barrass Avatar answered Jan 21 '26 08:01

Tim Barrass