Skip to content

MergeRequest API add MergeRequestFilter withReviewer by ID OR by Username #1209

@dstoianov

Description

@dstoianov

Hi there,

It would be nice to have in API method to find all MRs where user is one of the reviewers.

We already have a similar API but in this case, it is

Examples of existing API

MergeRequestFilter filter = new MergeRequestFilter();
filter.withoutReviewerId(123L);
//OR
filter.withoutReviewerUsername("ABC");

Desired API

MergeRequestFilter filter = new MergeRequestFilter();
filter.withReviewerId(123L);
//OR
filter.withReviewerUsername("ABC");

if it is already implemented, please share this method or how it is possible to find all MRs assigned to user/currentUser

Thank you
Denys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions