Skip to main content

List Merge Requests

List 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-
Deployed AfterReturn merge requests deployed after the given date/time. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
Deployed BeforeReturn merge requests deployed before the given date/time. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
EnvironmentReturns merge requests deployed to the given environment. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
Order ByReturn requests ordered by created_at or updated_at 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 Merge Requests with Gitlab and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop