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.getProjectIssueLabelEvents data source retrieves label events for a specific GitLab project issue.
Upstream API: GitLab Resource Label Events API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const example = gitlab.getProjectIssueLabelEvents({
project: "my-group/my-project",
issueIid: 42,
});
import pulumi
import pulumi_gitlab as gitlab
example = gitlab.get_project_issue_label_events(project="my-group/my-project",
issue_iid=42)
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.GetProjectIssueLabelEvents(ctx, &gitlab.GetProjectIssueLabelEventsArgs{
Project: "my-group/my-project",
IssueIid: 42,
}, 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 example = GitLab.GetProjectIssueLabelEvents.Invoke(new()
{
Project = "my-group/my-project",
IssueIid = 42,
});
});
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.GetProjectIssueLabelEventsArgs;
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 example = GitlabFunctions.getProjectIssueLabelEvents(GetProjectIssueLabelEventsArgs.builder()
.project("my-group/my-project")
.issueIid(42)
.build());
}
}
variables:
example:
fn::invoke:
function: gitlab:getProjectIssueLabelEvents
arguments:
project: my-group/my-project
issueIid: 42
Using getProjectIssueLabelEvents
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 getProjectIssueLabelEvents(args: GetProjectIssueLabelEventsArgs, opts?: InvokeOptions): Promise<GetProjectIssueLabelEventsResult>
function getProjectIssueLabelEventsOutput(args: GetProjectIssueLabelEventsOutputArgs, opts?: InvokeOptions): Output<GetProjectIssueLabelEventsResult>def get_project_issue_label_events(issue_iid: Optional[int] = None,
pages_returned: Optional[int] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectIssueLabelEventsResult
def get_project_issue_label_events_output(issue_iid: Optional[pulumi.Input[int]] = None,
pages_returned: Optional[pulumi.Input[int]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectIssueLabelEventsResult]func GetProjectIssueLabelEvents(ctx *Context, args *GetProjectIssueLabelEventsArgs, opts ...InvokeOption) (*GetProjectIssueLabelEventsResult, error)
func GetProjectIssueLabelEventsOutput(ctx *Context, args *GetProjectIssueLabelEventsOutputArgs, opts ...InvokeOption) GetProjectIssueLabelEventsResultOutput> Note: This function is named GetProjectIssueLabelEvents in the Go SDK.
public static class GetProjectIssueLabelEvents
{
public static Task<GetProjectIssueLabelEventsResult> InvokeAsync(GetProjectIssueLabelEventsArgs args, InvokeOptions? opts = null)
public static Output<GetProjectIssueLabelEventsResult> Invoke(GetProjectIssueLabelEventsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectIssueLabelEventsResult> getProjectIssueLabelEvents(GetProjectIssueLabelEventsArgs args, InvokeOptions options)
public static Output<GetProjectIssueLabelEventsResult> getProjectIssueLabelEvents(GetProjectIssueLabelEventsArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getProjectIssueLabelEvents:getProjectIssueLabelEvents
arguments:
# arguments dictionaryThe following arguments are supported:
- Issue
Iid int - The internal ID of the issue.
- Project string
- The ID or full path of the project.
- Pages
Returned int - Number of pages to return. Default is 1.
- Issue
Iid int - The internal ID of the issue.
- Project string
- The ID or full path of the project.
- Pages
Returned int - Number of pages to return. Default is 1.
- issue
Iid Integer - The internal ID of the issue.
- project String
- The ID or full path of the project.
- pages
Returned Integer - Number of pages to return. Default is 1.
- issue
Iid number - The internal ID of the issue.
- project string
- The ID or full path of the project.
- pages
Returned number - Number of pages to return. Default is 1.
- issue_
iid int - The internal ID of the issue.
- project str
- The ID or full path of the project.
- pages_
returned int - Number of pages to return. Default is 1.
- issue
Iid Number - The internal ID of the issue.
- project String
- The ID or full path of the project.
- pages
Returned Number - Number of pages to return. Default is 1.
getProjectIssueLabelEvents Result
The following output properties are available:
- Events
List<Pulumi.
Git Lab. Outputs. Get Project Issue Label Events Event> - List of label events for the issue.
- Id string
- Issue
Iid int - The internal ID of the issue.
- Project string
- The ID or full path of the project.
- Pages
Returned int - Number of pages to return. Default is 1.
- Events
[]Get
Project Issue Label Events Event - List of label events for the issue.
- Id string
- Issue
Iid int - The internal ID of the issue.
- Project string
- The ID or full path of the project.
- Pages
Returned int - Number of pages to return. Default is 1.
- events
List<Get
Project Issue Label Events Event> - List of label events for the issue.
- id String
- issue
Iid Integer - The internal ID of the issue.
- project String
- The ID or full path of the project.
- pages
Returned Integer - Number of pages to return. Default is 1.
- events
Get
Project Issue Label Events Event[] - List of label events for the issue.
- id string
- issue
Iid number - The internal ID of the issue.
- project string
- The ID or full path of the project.
- pages
Returned number - Number of pages to return. Default is 1.
- events
Sequence[Get
Project Issue Label Events Event] - List of label events for the issue.
- id str
- issue_
iid int - The internal ID of the issue.
- project str
- The ID or full path of the project.
- pages_
returned int - Number of pages to return. Default is 1.
- events List<Property Map>
- List of label events for the issue.
- id String
- issue
Iid Number - The internal ID of the issue.
- project String
- The ID or full path of the project.
- pages
Returned Number - Number of pages to return. Default is 1.
Supporting Types
GetProjectIssueLabelEventsEvent
- Action string
- The action performed on the label (add, remove).
- Created
At string - The date and time when the label event was created.
- Id int
- The ID of the label event.
- Label
Pulumi.
Git Lab. Inputs. Get Project Issue Label Events Event Label - The label that was added or removed.
- Resource
Id int - The ID of the resource associated with the label event.
- Resource
Type string - The type of the resource associated with the label event.
- User
Pulumi.
Git Lab. Inputs. Get Project Issue Label Events Event User - The user who performed the action.
- Action string
- The action performed on the label (add, remove).
- Created
At string - The date and time when the label event was created.
- Id int
- The ID of the label event.
- Label
Get
Project Issue Label Events Event Label - The label that was added or removed.
- Resource
Id int - The ID of the resource associated with the label event.
- Resource
Type string - The type of the resource associated with the label event.
- User
Get
Project Issue Label Events Event User - The user who performed the action.
- action String
- The action performed on the label (add, remove).
- created
At String - The date and time when the label event was created.
- id Integer
- The ID of the label event.
- label
Get
Project Issue Label Events Event Label - The label that was added or removed.
- resource
Id Integer - The ID of the resource associated with the label event.
- resource
Type String - The type of the resource associated with the label event.
- user
Get
Project Issue Label Events Event User - The user who performed the action.
- action string
- The action performed on the label (add, remove).
- created
At string - The date and time when the label event was created.
- id number
- The ID of the label event.
- label
Get
Project Issue Label Events Event Label - The label that was added or removed.
- resource
Id number - The ID of the resource associated with the label event.
- resource
Type string - The type of the resource associated with the label event.
- user
Get
Project Issue Label Events Event User - The user who performed the action.
- action str
- The action performed on the label (add, remove).
- created_
at str - The date and time when the label event was created.
- id int
- The ID of the label event.
- label
Get
Project Issue Label Events Event Label - The label that was added or removed.
- resource_
id int - The ID of the resource associated with the label event.
- resource_
type str - The type of the resource associated with the label event.
- user
Get
Project Issue Label Events Event User - The user who performed the action.
- action String
- The action performed on the label (add, remove).
- created
At String - The date and time when the label event was created.
- id Number
- The ID of the label event.
- label Property Map
- The label that was added or removed.
- resource
Id Number - The ID of the resource associated with the label event.
- resource
Type String - The type of the resource associated with the label event.
- user Property Map
- The user who performed the action.
GetProjectIssueLabelEventsEventLabel
- Color string
- The color of the label.
- Description string
- The description of the label.
- Id int
- The ID of the label.
- Name string
- The name of the label.
- Color string
- The color of the label.
- Description string
- The description of the label.
- Id int
- The ID of the label.
- Name string
- The name of the label.
- color String
- The color of the label.
- description String
- The description of the label.
- id Integer
- The ID of the label.
- name String
- The name of the label.
- color string
- The color of the label.
- description string
- The description of the label.
- id number
- The ID of the label.
- name string
- The name of the label.
- color str
- The color of the label.
- description str
- The description of the label.
- id int
- The ID of the label.
- name str
- The name of the label.
- color String
- The color of the label.
- description String
- The description of the label.
- id Number
- The ID of the label.
- name String
- The name of the label.
GetProjectIssueLabelEventsEventUser
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
