Skip to main content

List Group Merge Requests

Get all merge requests for this group and its subgroups. The state parameter can be used to get only merge requests with a given state (opened, closed, locked, or merged) or all of them (all). The pagination parameters page and per_page can be used to restrict the list of merge requests.

External Documentation

To learn more, visit the GitLab documentation.

Parameters

ParameterDescription
Assignee IDReturns merge requests assigned to the given user id. None returns unassigned merge requests. Any returns merge requests with an assignee.
Created AfterReturn merge requests created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
Created Before-
Group IDThe ID or path of the group owned by the authenticated user.
Order ByReturn requests ordered by createdat or updatedat fields. Default is created_at.
SearchSearch merge requests against their title and description.
SortReturn requests sorted in asc or desc order. Default is desc.
Source BranchReturn merge requests with the given source branch.
StateReturn all merge requests or just those that are opened, closed, locked, or merged.
Target BranchReturn merge requests with the given target branch.
Updated AfterReturn merge requests updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
Updated BeforeReturn merge requests updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z).

Workflow Library Example

List Group Merge Requests with Gitlab and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop