Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The gitlab.getProjectMergeRequests data source retrieves
information about a list of merge requests related to a specific project.
Upstream API: GitLab REST API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const exampleOne = gitlab.getProjectMergeRequests({
project: "123",
targetBranch: "main",
wip: "yes",
});
const exampleTwo = gitlab.getProjectMergeRequests({
project: "company/group/project1",
authorId: 5,
createdAfter: "2024-07-25T12:00:00Z",
});
import pulumi
import pulumi_gitlab as gitlab
example_one = gitlab.get_project_merge_requests(project="123",
target_branch="main",
wip="yes")
example_two = gitlab.get_project_merge_requests(project="company/group/project1",
author_id=5,
created_after="2024-07-25T12:00:00Z")
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v9/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gitlab.GetProjectMergeRequests(ctx, &gitlab.GetProjectMergeRequestsArgs{
Project: "123",
TargetBranch: pulumi.StringRef("main"),
Wip: pulumi.StringRef("yes"),
}, nil)
if err != nil {
return err
}
_, err = gitlab.GetProjectMergeRequests(ctx, &gitlab.GetProjectMergeRequestsArgs{
Project: "company/group/project1",
AuthorId: pulumi.IntRef(5),
CreatedAfter: pulumi.StringRef("2024-07-25T12:00:00Z"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var exampleOne = GitLab.GetProjectMergeRequests.Invoke(new()
{
Project = "123",
TargetBranch = "main",
Wip = "yes",
});
var exampleTwo = GitLab.GetProjectMergeRequests.Invoke(new()
{
Project = "company/group/project1",
AuthorId = 5,
CreatedAfter = "2024-07-25T12:00:00Z",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GitlabFunctions;
import com.pulumi.gitlab.inputs.GetProjectMergeRequestsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleOne = GitlabFunctions.getProjectMergeRequests(GetProjectMergeRequestsArgs.builder()
.project("123")
.targetBranch("main")
.wip("yes")
.build());
final var exampleTwo = GitlabFunctions.getProjectMergeRequests(GetProjectMergeRequestsArgs.builder()
.project("company/group/project1")
.authorId(5)
.createdAfter("2024-07-25T12:00:00Z")
.build());
}
}
variables:
exampleOne:
fn::invoke:
function: gitlab:getProjectMergeRequests
arguments:
project: '123'
targetBranch: main
wip: yes
exampleTwo:
fn::invoke:
function: gitlab:getProjectMergeRequests
arguments:
project: company/group/project1
authorId: 5
createdAfter: 2024-07-25T12:00:00Z
Using getProjectMergeRequests
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProjectMergeRequests(args: GetProjectMergeRequestsArgs, opts?: InvokeOptions): Promise<GetProjectMergeRequestsResult>
function getProjectMergeRequestsOutput(args: GetProjectMergeRequestsOutputArgs, opts?: InvokeOptions): Output<GetProjectMergeRequestsResult>def get_project_merge_requests(author_id: Optional[int] = None,
author_username: Optional[str] = None,
created_after: Optional[str] = None,
created_before: Optional[str] = None,
iids: Optional[Sequence[int]] = None,
milestone: Optional[str] = None,
my_reaction_emoji: Optional[str] = None,
order_by: Optional[str] = None,
project: Optional[str] = None,
reviewer_username: Optional[str] = None,
scope: Optional[str] = None,
search: Optional[str] = None,
sort: Optional[str] = None,
source_branch: Optional[str] = None,
state: Optional[str] = None,
target_branch: Optional[str] = None,
updated_after: Optional[str] = None,
updated_before: Optional[str] = None,
wip: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectMergeRequestsResult
def get_project_merge_requests_output(author_id: Optional[pulumi.Input[int]] = None,
author_username: Optional[pulumi.Input[str]] = None,
created_after: Optional[pulumi.Input[str]] = None,
created_before: Optional[pulumi.Input[str]] = None,
iids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
milestone: Optional[pulumi.Input[str]] = None,
my_reaction_emoji: Optional[pulumi.Input[str]] = None,
order_by: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
reviewer_username: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[str]] = None,
search: Optional[pulumi.Input[str]] = None,
sort: Optional[pulumi.Input[str]] = None,
source_branch: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
target_branch: Optional[pulumi.Input[str]] = None,
updated_after: Optional[pulumi.Input[str]] = None,
updated_before: Optional[pulumi.Input[str]] = None,
wip: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectMergeRequestsResult]func GetProjectMergeRequests(ctx *Context, args *GetProjectMergeRequestsArgs, opts ...InvokeOption) (*GetProjectMergeRequestsResult, error)
func GetProjectMergeRequestsOutput(ctx *Context, args *GetProjectMergeRequestsOutputArgs, opts ...InvokeOption) GetProjectMergeRequestsResultOutput> Note: This function is named GetProjectMergeRequests in the Go SDK.
public static class GetProjectMergeRequests
{
public static Task<GetProjectMergeRequestsResult> InvokeAsync(GetProjectMergeRequestsArgs args, InvokeOptions? opts = null)
public static Output<GetProjectMergeRequestsResult> Invoke(GetProjectMergeRequestsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectMergeRequestsResult> getProjectMergeRequests(GetProjectMergeRequestsArgs args, InvokeOptions options)
public static Output<GetProjectMergeRequestsResult> getProjectMergeRequests(GetProjectMergeRequestsArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getProjectMergeRequests:getProjectMergeRequests
arguments:
# arguments dictionaryThe following arguments are supported:
- Project string
- The ID or path of the project.
- int
- Return merge requests created by the given user ID.
- string
- Return merge requests created by the given username.
- Created
After string - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Created
Before string - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Iids List<int>
- The unique internal IDs of the merge requests.
- Milestone string
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - My
Reaction stringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - Order
By string - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - Reviewer
Username string - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - Scope string
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - Search string
- Search merge requests against their
titleordescription. - Sort string
- Return requests sorted in
ascordescorder. Default isdesc. - Source
Branch string - Return merge requests with the given source branch.
- State string
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- Target
Branch string - Return merge requests with the given target branch.
- Updated
After string - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Updated
Before string - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Wip string
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- Project string
- The ID or path of the project.
- int
- Return merge requests created by the given user ID.
- string
- Return merge requests created by the given username.
- Created
After string - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Created
Before string - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Iids []int
- The unique internal IDs of the merge requests.
- Milestone string
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - My
Reaction stringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - Order
By string - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - Reviewer
Username string - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - Scope string
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - Search string
- Search merge requests against their
titleordescription. - Sort string
- Return requests sorted in
ascordescorder. Default isdesc. - Source
Branch string - Return merge requests with the given source branch.
- State string
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- Target
Branch string - Return merge requests with the given target branch.
- Updated
After string - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Updated
Before string - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Wip string
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- project String
- The ID or path of the project.
- Integer
- Return merge requests created by the given user ID.
- String
- Return merge requests created by the given username.
- created
After String - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- created
Before String - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- iids List<Integer>
- The unique internal IDs of the merge requests.
- milestone String
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - my
Reaction StringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - order
By String - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - reviewer
Username String - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - scope String
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - search String
- Search merge requests against their
titleordescription. - sort String
- Return requests sorted in
ascordescorder. Default isdesc. - source
Branch String - Return merge requests with the given source branch.
- state String
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- target
Branch String - Return merge requests with the given target branch.
- updated
After String - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- updated
Before String - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- wip String
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- project string
- The ID or path of the project.
- number
- Return merge requests created by the given user ID.
- string
- Return merge requests created by the given username.
- created
After string - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- created
Before string - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- iids number[]
- The unique internal IDs of the merge requests.
- milestone string
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - my
Reaction stringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - order
By string - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - reviewer
Username string - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - scope string
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - search string
- Search merge requests against their
titleordescription. - sort string
- Return requests sorted in
ascordescorder. Default isdesc. - source
Branch string - Return merge requests with the given source branch.
- state string
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- target
Branch string - Return merge requests with the given target branch.
- updated
After string - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- updated
Before string - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- wip string
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- project str
- The ID or path of the project.
- int
- Return merge requests created by the given user ID.
- str
- Return merge requests created by the given username.
- created_
after str - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- created_
before str - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- iids Sequence[int]
- The unique internal IDs of the merge requests.
- milestone str
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - my_
reaction_ stremoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - order_
by str - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - reviewer_
username str - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - scope str
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - search str
- Search merge requests against their
titleordescription. - sort str
- Return requests sorted in
ascordescorder. Default isdesc. - source_
branch str - Return merge requests with the given source branch.
- state str
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- target_
branch str - Return merge requests with the given target branch.
- updated_
after str - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- updated_
before str - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- wip str
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- project String
- The ID or path of the project.
- Number
- Return merge requests created by the given user ID.
- String
- Return merge requests created by the given username.
- created
After String - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- created
Before String - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- iids List<Number>
- The unique internal IDs of the merge requests.
- milestone String
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - my
Reaction StringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - order
By String - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - reviewer
Username String - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - scope String
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - search String
- Search merge requests against their
titleordescription. - sort String
- Return requests sorted in
ascordescorder. Default isdesc. - source
Branch String - Return merge requests with the given source branch.
- state String
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- target
Branch String - Return merge requests with the given target branch.
- updated
After String - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- updated
Before String - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- wip String
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
getProjectMergeRequests Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Merge
Requests List<Pulumi.Git Lab. Outputs. Get Project Merge Requests Merge Request> - The list of merge requests.
- Project string
- The ID or path of the project.
- int
- Return merge requests created by the given user ID.
- string
- Return merge requests created by the given username.
- Created
After string - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Created
Before string - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Iids List<int>
- The unique internal IDs of the merge requests.
- Milestone string
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - My
Reaction stringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - Order
By string - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - Reviewer
Username string - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - Scope string
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - Search string
- Search merge requests against their
titleordescription. - Sort string
- Return requests sorted in
ascordescorder. Default isdesc. - Source
Branch string - Return merge requests with the given source branch.
- State string
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- Target
Branch string - Return merge requests with the given target branch.
- Updated
After string - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Updated
Before string - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Wip string
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- Id string
- The provider-assigned unique ID for this managed resource.
- Merge
Requests []GetProject Merge Requests Merge Request - The list of merge requests.
- Project string
- The ID or path of the project.
- int
- Return merge requests created by the given user ID.
- string
- Return merge requests created by the given username.
- Created
After string - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Created
Before string - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Iids []int
- The unique internal IDs of the merge requests.
- Milestone string
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - My
Reaction stringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - Order
By string - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - Reviewer
Username string - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - Scope string
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - Search string
- Search merge requests against their
titleordescription. - Sort string
- Return requests sorted in
ascordescorder. Default isdesc. - Source
Branch string - Return merge requests with the given source branch.
- State string
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- Target
Branch string - Return merge requests with the given target branch.
- Updated
After string - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Updated
Before string - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- Wip string
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- id String
- The provider-assigned unique ID for this managed resource.
- merge
Requests List<GetProject Merge Requests Merge Request> - The list of merge requests.
- project String
- The ID or path of the project.
- Integer
- Return merge requests created by the given user ID.
- String
- Return merge requests created by the given username.
- created
After String - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- created
Before String - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- iids List<Integer>
- The unique internal IDs of the merge requests.
- milestone String
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - my
Reaction StringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - order
By String - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - reviewer
Username String - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - scope String
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - search String
- Search merge requests against their
titleordescription. - sort String
- Return requests sorted in
ascordescorder. Default isdesc. - source
Branch String - Return merge requests with the given source branch.
- state String
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- target
Branch String - Return merge requests with the given target branch.
- updated
After String - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- updated
Before String - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- wip String
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- id string
- The provider-assigned unique ID for this managed resource.
- merge
Requests GetProject Merge Requests Merge Request[] - The list of merge requests.
- project string
- The ID or path of the project.
- number
- Return merge requests created by the given user ID.
- string
- Return merge requests created by the given username.
- created
After string - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- created
Before string - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- iids number[]
- The unique internal IDs of the merge requests.
- milestone string
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - my
Reaction stringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - order
By string - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - reviewer
Username string - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - scope string
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - search string
- Search merge requests against their
titleordescription. - sort string
- Return requests sorted in
ascordescorder. Default isdesc. - source
Branch string - Return merge requests with the given source branch.
- state string
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- target
Branch string - Return merge requests with the given target branch.
- updated
After string - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- updated
Before string - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- wip string
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- id str
- The provider-assigned unique ID for this managed resource.
- merge_
requests Sequence[GetProject Merge Requests Merge Request] - The list of merge requests.
- project str
- The ID or path of the project.
- int
- Return merge requests created by the given user ID.
- str
- Return merge requests created by the given username.
- created_
after str - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- created_
before str - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- iids Sequence[int]
- The unique internal IDs of the merge requests.
- milestone str
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - my_
reaction_ stremoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - order_
by str - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - reviewer_
username str - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - scope str
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - search str
- Search merge requests against their
titleordescription. - sort str
- Return requests sorted in
ascordescorder. Default isdesc. - source_
branch str - Return merge requests with the given source branch.
- state str
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- target_
branch str - Return merge requests with the given target branch.
- updated_
after str - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- updated_
before str - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- wip str
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
- id String
- The provider-assigned unique ID for this managed resource.
- merge
Requests List<Property Map> - The list of merge requests.
- project String
- The ID or path of the project.
- Number
- Return merge requests created by the given user ID.
- String
- Return merge requests created by the given username.
- created
After String - Return merge requests created after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- created
Before String - Return merge requests created before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- iids List<Number>
- The unique internal IDs of the merge requests.
- milestone String
- Return only merge requests for a specific milestone.
Nonereturns merge requests with no milestone.Anyreturns merge requests that have an assigned milestone. - my
Reaction StringEmoji - Return merge requests reacted to by the authenticated user with the given emoji.
Nonereturns issues not given a reaction.Anyreturns issues given at least one reaction. - order
By String - Return requests ordered by
created_at,titleorupdated_at. Default iscreated_at. - reviewer
Username String - Return merge requests reviewed by the given username.
Nonereturns merge requests with no reviews.Anyreturns merge requests with any reviewer. - scope String
- Return merge requests for the given scope:
created_by_me,assigned_to_me, orall. - search String
- Search merge requests against their
titleordescription. - sort String
- Return requests sorted in
ascordescorder. Default isdesc. - source
Branch String - Return merge requests with the given source branch.
- state String
- Return all merge requests (all) or just those that are opened, closed, locked, or merged.
- target
Branch String - Return merge requests with the given target branch.
- updated
After String - Return merge requests updated after the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- updated
Before String - Return merge requests updated before the given time. Expected in RFC3339 format (2006-01-02T15:04:05Z).
- wip String
- Filter merge requests against their wip status.
yesto return only draft merge requests,noto return non-draft merge requests.
Supporting Types
GetProjectMergeRequestsMergeRequest
- Assignee
Pulumi.
Git Lab. Inputs. Get Project Merge Requests Merge Request Assignee - First assignee of the merge request.
- Assignees
List<Pulumi.
Git Lab. Inputs. Get Project Merge Requests Merge Request Assignee> - Assignees of the merge request.
-
Pulumi.
Git Lab. Inputs. Get Project Merge Requests Merge Request Author - User who created this merge request.
- Blocking
Discussions boolResolved - Indicates if all discussions are resolved only if all are required before merge request can be merged.
- Closed
At string - Timestamp of when the merge request was closed.
- Closed
By Pulumi.Git Lab. Inputs. Get Project Merge Requests Merge Request Closed By - User who closed this merge request.
- Created
At string - Timestamp of when the merge request was created.
- Id int
- The unique instance level ID of the merge request.
- Iid int
- The unique project level ID of the merge request.
- Assignee
Get
Project Merge Requests Merge Request Assignee - First assignee of the merge request.
- Assignees
[]Get
Project Merge Requests Merge Request Assignee - Assignees of the merge request.
-
Get
Project Merge Requests Merge Request Author - User who created this merge request.
- Blocking
Discussions boolResolved - Indicates if all discussions are resolved only if all are required before merge request can be merged.
- Closed
At string - Timestamp of when the merge request was closed.
- Closed
By GetProject Merge Requests Merge Request Closed By - User who closed this merge request.
- Created
At string - Timestamp of when the merge request was created.
- Id int
- The unique instance level ID of the merge request.
- Iid int
- The unique project level ID of the merge request.
- assignee
Get
Project Merge Requests Merge Request Assignee - First assignee of the merge request.
- assignees
List<Get
Project Merge Requests Merge Request Assignee> - Assignees of the merge request.
-
Get
Project Merge Requests Merge Request Author - User who created this merge request.
- blocking
Discussions BooleanResolved - Indicates if all discussions are resolved only if all are required before merge request can be merged.
- closed
At String - Timestamp of when the merge request was closed.
- closed
By GetProject Merge Requests Merge Request Closed By - User who closed this merge request.
- created
At String - Timestamp of when the merge request was created.
- id Integer
- The unique instance level ID of the merge request.
- iid Integer
- The unique project level ID of the merge request.
- assignee
Get
Project Merge Requests Merge Request Assignee - First assignee of the merge request.
- assignees
Get
Project Merge Requests Merge Request Assignee[] - Assignees of the merge request.
-
Get
Project Merge Requests Merge Request Author - User who created this merge request.
- blocking
Discussions booleanResolved - Indicates if all discussions are resolved only if all are required before merge request can be merged.
- closed
At string - Timestamp of when the merge request was closed.
- closed
By GetProject Merge Requests Merge Request Closed By - User who closed this merge request.
- created
At string - Timestamp of when the merge request was created.
- id number
- The unique instance level ID of the merge request.
- iid number
- The unique project level ID of the merge request.
- assignee
Get
Project Merge Requests Merge Request Assignee - First assignee of the merge request.
- assignees
Sequence[Get
Project Merge Requests Merge Request Assignee] - Assignees of the merge request.
-
Get
Project Merge Requests Merge Request Author - User who created this merge request.
- blocking_
discussions_ boolresolved - Indicates if all discussions are resolved only if all are required before merge request can be merged.
- closed_
at str - Timestamp of when the merge request was closed.
- closed_
by GetProject Merge Requests Merge Request Closed By - User who closed this merge request.
- created_
at str - Timestamp of when the merge request was created.
- id int
- The unique instance level ID of the merge request.
- iid int
- The unique project level ID of the merge request.
- assignee Property Map
- First assignee of the merge request.
- assignees List<Property Map>
- Assignees of the merge request.
- Property Map
- User who created this merge request.
- blocking
Discussions BooleanResolved - Indicates if all discussions are resolved only if all are required before merge request can be merged.
- closed
At String - Timestamp of when the merge request was closed.
- closed
By Property Map - User who closed this merge request.
- created
At String - Timestamp of when the merge request was created.
- id Number
- The unique instance level ID of the merge request.
- iid Number
- The unique project level ID of the merge request.
GetProjectMergeRequestsMergeRequestAssignee
GetProjectMergeRequestsMergeRequestAuthor
GetProjectMergeRequestsMergeRequestClosedBy
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlabTerraform Provider.
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
