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
Parameter | Description |
---|---|
Assignee ID | Returns merge requests assigned to the given user id. None returns unassigned merge requests. Any returns merge requests with an assignee. |
Created After | Return merge requests created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z). |
Created Before | - |
Group ID | The ID or path of the group owned by the authenticated user. |
Order By | Return requests ordered by created_at or updated_at fields. Default is created_at. |
Search | Search merge requests against their title and description. |
Sort | Return requests sorted in asc or desc order. Default is desc. |
Source Branch | Return merge requests with the given source branch. |
State | Return all merge requests or just those that are opened, closed, locked, or merged. |
Target Branch | Return merge requests with the given target branch. |
Updated After | Return merge requests updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z). |
Updated Before | Return 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