1. Packages
  2. Gitlab Provider
  3. API Docs
  4. ProjectIssue
GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi

gitlab.ProjectIssue

Explore with Pulumi AI

gitlab logo
GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gitlab from "@pulumi/gitlab";
    
    const foo = new gitlab.Project("foo", {
        name: "example project",
        description: "Lorem Ipsum",
        visibilityLevel: "public",
    });
    const welcomeIssue = new gitlab.ProjectIssue("welcome_issue", {
        project: foo.id,
        title: "Welcome!",
        description: pulumi.interpolate`  Welcome to the ${foo.name} project!
    
    `,
        discussionLocked: true,
    });
    export const welcomeIssueWebUrl = webUrl;
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    foo = gitlab.Project("foo",
        name="example project",
        description="Lorem Ipsum",
        visibility_level="public")
    welcome_issue = gitlab.ProjectIssue("welcome_issue",
        project=foo.id,
        title="Welcome!",
        description=foo.name.apply(lambda name: f"""  Welcome to the {name} project!
    
    """),
        discussion_locked=True)
    pulumi.export("welcomeIssueWebUrl", web_url)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-gitlab/sdk/v8/go/gitlab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		foo, err := gitlab.NewProject(ctx, "foo", &gitlab.ProjectArgs{
    			Name:            pulumi.String("example project"),
    			Description:     pulumi.String("Lorem Ipsum"),
    			VisibilityLevel: pulumi.String("public"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = gitlab.NewProjectIssue(ctx, "welcome_issue", &gitlab.ProjectIssueArgs{
    			Project: foo.ID(),
    			Title:   pulumi.String("Welcome!"),
    			Description: foo.Name.ApplyT(func(name string) (string, error) {
    				return fmt.Sprintf("  Welcome to the %v project!\n\n", name), nil
    			}).(pulumi.StringOutput),
    			DiscussionLocked: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("welcomeIssueWebUrl", webUrl)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using GitLab = Pulumi.GitLab;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new GitLab.Project("foo", new()
        {
            Name = "example project",
            Description = "Lorem Ipsum",
            VisibilityLevel = "public",
        });
    
        var welcomeIssue = new GitLab.ProjectIssue("welcome_issue", new()
        {
            Project = foo.Id,
            Title = "Welcome!",
            Description = foo.Name.Apply(name => @$"  Welcome to the {name} project!
    
    "),
            DiscussionLocked = true,
        });
    
        return new Dictionary<string, object?>
        {
            ["welcomeIssueWebUrl"] = webUrl,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gitlab.Project;
    import com.pulumi.gitlab.ProjectArgs;
    import com.pulumi.gitlab.ProjectIssue;
    import com.pulumi.gitlab.ProjectIssueArgs;
    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) {
            var foo = new Project("foo", ProjectArgs.builder()
                .name("example project")
                .description("Lorem Ipsum")
                .visibilityLevel("public")
                .build());
    
            var welcomeIssue = new ProjectIssue("welcomeIssue", ProjectIssueArgs.builder()
                .project(foo.id())
                .title("Welcome!")
                .description(foo.name().applyValue(name -> """
      Welcome to the %s project!
    
    ", name)))
                .discussionLocked(true)
                .build());
    
            ctx.export("welcomeIssueWebUrl", webUrl);
        }
    }
    
    resources:
      foo:
        type: gitlab:Project
        properties:
          name: example project
          description: Lorem Ipsum
          visibilityLevel: public
      welcomeIssue:
        type: gitlab:ProjectIssue
        name: welcome_issue
        properties:
          project: ${foo.id}
          title: Welcome!
          description: |2+
              Welcome to the ${foo.name} project!
    
          discussionLocked: true
    outputs:
      welcomeIssueWebUrl: ${webUrl}
    

    Create ProjectIssue Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProjectIssue(name: string, args: ProjectIssueArgs, opts?: CustomResourceOptions);
    @overload
    def ProjectIssue(resource_name: str,
                     args: ProjectIssueArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProjectIssue(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     project: Optional[str] = None,
                     title: Optional[str] = None,
                     epic_issue_id: Optional[int] = None,
                     labels: Optional[Sequence[str]] = None,
                     description: Optional[str] = None,
                     discussion_locked: Optional[bool] = None,
                     discussion_to_resolve: Optional[str] = None,
                     due_date: Optional[str] = None,
                     assignee_ids: Optional[Sequence[int]] = None,
                     iid: Optional[int] = None,
                     issue_type: Optional[str] = None,
                     delete_on_destroy: Optional[bool] = None,
                     merge_request_to_resolve_discussions_of: Optional[int] = None,
                     milestone_id: Optional[int] = None,
                     created_at: Optional[str] = None,
                     state: Optional[str] = None,
                     confidential: Optional[bool] = None,
                     updated_at: Optional[str] = None,
                     weight: Optional[int] = None)
    func NewProjectIssue(ctx *Context, name string, args ProjectIssueArgs, opts ...ResourceOption) (*ProjectIssue, error)
    public ProjectIssue(string name, ProjectIssueArgs args, CustomResourceOptions? opts = null)
    public ProjectIssue(String name, ProjectIssueArgs args)
    public ProjectIssue(String name, ProjectIssueArgs args, CustomResourceOptions options)
    
    type: gitlab:ProjectIssue
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ProjectIssueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProjectIssueArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProjectIssueArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectIssueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectIssueArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var projectIssueResource = new GitLab.ProjectIssue("projectIssueResource", new()
    {
        Project = "string",
        Title = "string",
        EpicIssueId = 0,
        Labels = new[]
        {
            "string",
        },
        Description = "string",
        DiscussionLocked = false,
        DiscussionToResolve = "string",
        DueDate = "string",
        AssigneeIds = new[]
        {
            0,
        },
        Iid = 0,
        IssueType = "string",
        DeleteOnDestroy = false,
        MergeRequestToResolveDiscussionsOf = 0,
        MilestoneId = 0,
        CreatedAt = "string",
        State = "string",
        Confidential = false,
        UpdatedAt = "string",
        Weight = 0,
    });
    
    example, err := gitlab.NewProjectIssue(ctx, "projectIssueResource", &gitlab.ProjectIssueArgs{
    	Project:     pulumi.String("string"),
    	Title:       pulumi.String("string"),
    	EpicIssueId: pulumi.Int(0),
    	Labels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:         pulumi.String("string"),
    	DiscussionLocked:    pulumi.Bool(false),
    	DiscussionToResolve: pulumi.String("string"),
    	DueDate:             pulumi.String("string"),
    	AssigneeIds: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	Iid:                                pulumi.Int(0),
    	IssueType:                          pulumi.String("string"),
    	DeleteOnDestroy:                    pulumi.Bool(false),
    	MergeRequestToResolveDiscussionsOf: pulumi.Int(0),
    	MilestoneId:                        pulumi.Int(0),
    	CreatedAt:                          pulumi.String("string"),
    	State:                              pulumi.String("string"),
    	Confidential:                       pulumi.Bool(false),
    	UpdatedAt:                          pulumi.String("string"),
    	Weight:                             pulumi.Int(0),
    })
    
    var projectIssueResource = new ProjectIssue("projectIssueResource", ProjectIssueArgs.builder()
        .project("string")
        .title("string")
        .epicIssueId(0)
        .labels("string")
        .description("string")
        .discussionLocked(false)
        .discussionToResolve("string")
        .dueDate("string")
        .assigneeIds(0)
        .iid(0)
        .issueType("string")
        .deleteOnDestroy(false)
        .mergeRequestToResolveDiscussionsOf(0)
        .milestoneId(0)
        .createdAt("string")
        .state("string")
        .confidential(false)
        .updatedAt("string")
        .weight(0)
        .build());
    
    project_issue_resource = gitlab.ProjectIssue("projectIssueResource",
        project="string",
        title="string",
        epic_issue_id=0,
        labels=["string"],
        description="string",
        discussion_locked=False,
        discussion_to_resolve="string",
        due_date="string",
        assignee_ids=[0],
        iid=0,
        issue_type="string",
        delete_on_destroy=False,
        merge_request_to_resolve_discussions_of=0,
        milestone_id=0,
        created_at="string",
        state="string",
        confidential=False,
        updated_at="string",
        weight=0)
    
    const projectIssueResource = new gitlab.ProjectIssue("projectIssueResource", {
        project: "string",
        title: "string",
        epicIssueId: 0,
        labels: ["string"],
        description: "string",
        discussionLocked: false,
        discussionToResolve: "string",
        dueDate: "string",
        assigneeIds: [0],
        iid: 0,
        issueType: "string",
        deleteOnDestroy: false,
        mergeRequestToResolveDiscussionsOf: 0,
        milestoneId: 0,
        createdAt: "string",
        state: "string",
        confidential: false,
        updatedAt: "string",
        weight: 0,
    });
    
    type: gitlab:ProjectIssue
    properties:
        assigneeIds:
            - 0
        confidential: false
        createdAt: string
        deleteOnDestroy: false
        description: string
        discussionLocked: false
        discussionToResolve: string
        dueDate: string
        epicIssueId: 0
        iid: 0
        issueType: string
        labels:
            - string
        mergeRequestToResolveDiscussionsOf: 0
        milestoneId: 0
        project: string
        state: string
        title: string
        updatedAt: string
        weight: 0
    

    ProjectIssue Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ProjectIssue resource accepts the following input properties:

    Project string
    The name or ID of the project.
    Title string
    The title of the issue.
    AssigneeIds List<int>
    The IDs of the users to assign the issue to.
    Confidential bool
    Set an issue to be confidential.
    CreatedAt string
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    DeleteOnDestroy bool
    Whether the issue is deleted instead of closed during destroy.
    Description string
    The description of an issue. Limited to 1,048,576 characters.
    DiscussionLocked bool
    Whether the issue is locked for discussions or not.
    DiscussionToResolve string
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    DueDate string
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    EpicIssueId int
    The ID of the epic issue.
    Iid int
    The internal ID of the project's issue.
    IssueType string
    The type of issue. Valid values are: issue, incident, test_case.
    Labels List<string>
    The labels of an issue.
    MergeRequestToResolveDiscussionsOf int
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    MilestoneId int
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    State string
    The state of the issue. Valid values are: opened, closed.
    UpdatedAt string
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    Weight int
    The weight of the issue. Valid values are greater than or equal to 0.
    Project string
    The name or ID of the project.
    Title string
    The title of the issue.
    AssigneeIds []int
    The IDs of the users to assign the issue to.
    Confidential bool
    Set an issue to be confidential.
    CreatedAt string
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    DeleteOnDestroy bool
    Whether the issue is deleted instead of closed during destroy.
    Description string
    The description of an issue. Limited to 1,048,576 characters.
    DiscussionLocked bool
    Whether the issue is locked for discussions or not.
    DiscussionToResolve string
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    DueDate string
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    EpicIssueId int
    The ID of the epic issue.
    Iid int
    The internal ID of the project's issue.
    IssueType string
    The type of issue. Valid values are: issue, incident, test_case.
    Labels []string
    The labels of an issue.
    MergeRequestToResolveDiscussionsOf int
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    MilestoneId int
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    State string
    The state of the issue. Valid values are: opened, closed.
    UpdatedAt string
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    Weight int
    The weight of the issue. Valid values are greater than or equal to 0.
    project String
    The name or ID of the project.
    title String
    The title of the issue.
    assigneeIds List<Integer>
    The IDs of the users to assign the issue to.
    confidential Boolean
    Set an issue to be confidential.
    createdAt String
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    deleteOnDestroy Boolean
    Whether the issue is deleted instead of closed during destroy.
    description String
    The description of an issue. Limited to 1,048,576 characters.
    discussionLocked Boolean
    Whether the issue is locked for discussions or not.
    discussionToResolve String
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    dueDate String
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    epicIssueId Integer
    The ID of the epic issue.
    iid Integer
    The internal ID of the project's issue.
    issueType String
    The type of issue. Valid values are: issue, incident, test_case.
    labels List<String>
    The labels of an issue.
    mergeRequestToResolveDiscussionsOf Integer
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    milestoneId Integer
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    state String
    The state of the issue. Valid values are: opened, closed.
    updatedAt String
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    weight Integer
    The weight of the issue. Valid values are greater than or equal to 0.
    project string
    The name or ID of the project.
    title string
    The title of the issue.
    assigneeIds number[]
    The IDs of the users to assign the issue to.
    confidential boolean
    Set an issue to be confidential.
    createdAt string
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    deleteOnDestroy boolean
    Whether the issue is deleted instead of closed during destroy.
    description string
    The description of an issue. Limited to 1,048,576 characters.
    discussionLocked boolean
    Whether the issue is locked for discussions or not.
    discussionToResolve string
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    dueDate string
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    epicIssueId number
    The ID of the epic issue.
    iid number
    The internal ID of the project's issue.
    issueType string
    The type of issue. Valid values are: issue, incident, test_case.
    labels string[]
    The labels of an issue.
    mergeRequestToResolveDiscussionsOf number
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    milestoneId number
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    state string
    The state of the issue. Valid values are: opened, closed.
    updatedAt string
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    weight number
    The weight of the issue. Valid values are greater than or equal to 0.
    project str
    The name or ID of the project.
    title str
    The title of the issue.
    assignee_ids Sequence[int]
    The IDs of the users to assign the issue to.
    confidential bool
    Set an issue to be confidential.
    created_at str
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    delete_on_destroy bool
    Whether the issue is deleted instead of closed during destroy.
    description str
    The description of an issue. Limited to 1,048,576 characters.
    discussion_locked bool
    Whether the issue is locked for discussions or not.
    discussion_to_resolve str
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    due_date str
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    epic_issue_id int
    The ID of the epic issue.
    iid int
    The internal ID of the project's issue.
    issue_type str
    The type of issue. Valid values are: issue, incident, test_case.
    labels Sequence[str]
    The labels of an issue.
    merge_request_to_resolve_discussions_of int
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    milestone_id int
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    state str
    The state of the issue. Valid values are: opened, closed.
    updated_at str
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    weight int
    The weight of the issue. Valid values are greater than or equal to 0.
    project String
    The name or ID of the project.
    title String
    The title of the issue.
    assigneeIds List<Number>
    The IDs of the users to assign the issue to.
    confidential Boolean
    Set an issue to be confidential.
    createdAt String
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    deleteOnDestroy Boolean
    Whether the issue is deleted instead of closed during destroy.
    description String
    The description of an issue. Limited to 1,048,576 characters.
    discussionLocked Boolean
    Whether the issue is locked for discussions or not.
    discussionToResolve String
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    dueDate String
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    epicIssueId Number
    The ID of the epic issue.
    iid Number
    The internal ID of the project's issue.
    issueType String
    The type of issue. Valid values are: issue, incident, test_case.
    labels List<String>
    The labels of an issue.
    mergeRequestToResolveDiscussionsOf Number
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    milestoneId Number
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    state String
    The state of the issue. Valid values are: opened, closed.
    updatedAt String
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    weight Number
    The weight of the issue. Valid values are greater than or equal to 0.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ProjectIssue resource produces the following output properties:

    AuthorId int
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    ClosedAt string
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    ClosedByUserId int
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    Downvotes int
    The number of downvotes the issue has received.
    EpicId int
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    ExternalId string
    The external ID of the issue.
    HumanTimeEstimate string
    The human-readable time estimate of the issue.
    HumanTotalTimeSpent string
    The human-readable total time spent of the issue.
    Id string
    The provider-assigned unique ID for this managed resource.
    IssueId int
    The instance-wide ID of the issue.
    IssueLinkId int
    The ID of the issue link.
    Links Dictionary<string, string>
    The links of the issue.
    MergeRequestsCount int
    The number of merge requests associated with the issue.
    MovedToId int
    The ID of the issue that was moved to.
    References Dictionary<string, string>
    The references of the issue.
    Subscribed bool
    Whether the authenticated user is subscribed to the issue or not.
    TaskCompletionStatuses List<Pulumi.GitLab.Outputs.ProjectIssueTaskCompletionStatus>
    The task completion status. It's always a one element list.
    TimeEstimate int
    The time estimate of the issue.
    TotalTimeSpent int
    The total time spent of the issue.
    Upvotes int
    The number of upvotes the issue has received.
    UserNotesCount int
    The number of user notes on the issue.
    WebUrl string
    The web URL of the issue.
    AuthorId int
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    ClosedAt string
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    ClosedByUserId int
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    Downvotes int
    The number of downvotes the issue has received.
    EpicId int
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    ExternalId string
    The external ID of the issue.
    HumanTimeEstimate string
    The human-readable time estimate of the issue.
    HumanTotalTimeSpent string
    The human-readable total time spent of the issue.
    Id string
    The provider-assigned unique ID for this managed resource.
    IssueId int
    The instance-wide ID of the issue.
    IssueLinkId int
    The ID of the issue link.
    Links map[string]string
    The links of the issue.
    MergeRequestsCount int
    The number of merge requests associated with the issue.
    MovedToId int
    The ID of the issue that was moved to.
    References map[string]string
    The references of the issue.
    Subscribed bool
    Whether the authenticated user is subscribed to the issue or not.
    TaskCompletionStatuses []ProjectIssueTaskCompletionStatus
    The task completion status. It's always a one element list.
    TimeEstimate int
    The time estimate of the issue.
    TotalTimeSpent int
    The total time spent of the issue.
    Upvotes int
    The number of upvotes the issue has received.
    UserNotesCount int
    The number of user notes on the issue.
    WebUrl string
    The web URL of the issue.
    authorId Integer
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    closedAt String
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    closedByUserId Integer
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    downvotes Integer
    The number of downvotes the issue has received.
    epicId Integer
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    externalId String
    The external ID of the issue.
    humanTimeEstimate String
    The human-readable time estimate of the issue.
    humanTotalTimeSpent String
    The human-readable total time spent of the issue.
    id String
    The provider-assigned unique ID for this managed resource.
    issueId Integer
    The instance-wide ID of the issue.
    issueLinkId Integer
    The ID of the issue link.
    links Map<String,String>
    The links of the issue.
    mergeRequestsCount Integer
    The number of merge requests associated with the issue.
    movedToId Integer
    The ID of the issue that was moved to.
    references Map<String,String>
    The references of the issue.
    subscribed Boolean
    Whether the authenticated user is subscribed to the issue or not.
    taskCompletionStatuses List<ProjectIssueTaskCompletionStatus>
    The task completion status. It's always a one element list.
    timeEstimate Integer
    The time estimate of the issue.
    totalTimeSpent Integer
    The total time spent of the issue.
    upvotes Integer
    The number of upvotes the issue has received.
    userNotesCount Integer
    The number of user notes on the issue.
    webUrl String
    The web URL of the issue.
    authorId number
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    closedAt string
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    closedByUserId number
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    downvotes number
    The number of downvotes the issue has received.
    epicId number
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    externalId string
    The external ID of the issue.
    humanTimeEstimate string
    The human-readable time estimate of the issue.
    humanTotalTimeSpent string
    The human-readable total time spent of the issue.
    id string
    The provider-assigned unique ID for this managed resource.
    issueId number
    The instance-wide ID of the issue.
    issueLinkId number
    The ID of the issue link.
    links {[key: string]: string}
    The links of the issue.
    mergeRequestsCount number
    The number of merge requests associated with the issue.
    movedToId number
    The ID of the issue that was moved to.
    references {[key: string]: string}
    The references of the issue.
    subscribed boolean
    Whether the authenticated user is subscribed to the issue or not.
    taskCompletionStatuses ProjectIssueTaskCompletionStatus[]
    The task completion status. It's always a one element list.
    timeEstimate number
    The time estimate of the issue.
    totalTimeSpent number
    The total time spent of the issue.
    upvotes number
    The number of upvotes the issue has received.
    userNotesCount number
    The number of user notes on the issue.
    webUrl string
    The web URL of the issue.
    author_id int
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    closed_at str
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    closed_by_user_id int
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    downvotes int
    The number of downvotes the issue has received.
    epic_id int
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    external_id str
    The external ID of the issue.
    human_time_estimate str
    The human-readable time estimate of the issue.
    human_total_time_spent str
    The human-readable total time spent of the issue.
    id str
    The provider-assigned unique ID for this managed resource.
    issue_id int
    The instance-wide ID of the issue.
    issue_link_id int
    The ID of the issue link.
    links Mapping[str, str]
    The links of the issue.
    merge_requests_count int
    The number of merge requests associated with the issue.
    moved_to_id int
    The ID of the issue that was moved to.
    references Mapping[str, str]
    The references of the issue.
    subscribed bool
    Whether the authenticated user is subscribed to the issue or not.
    task_completion_statuses Sequence[ProjectIssueTaskCompletionStatus]
    The task completion status. It's always a one element list.
    time_estimate int
    The time estimate of the issue.
    total_time_spent int
    The total time spent of the issue.
    upvotes int
    The number of upvotes the issue has received.
    user_notes_count int
    The number of user notes on the issue.
    web_url str
    The web URL of the issue.
    authorId Number
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    closedAt String
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    closedByUserId Number
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    downvotes Number
    The number of downvotes the issue has received.
    epicId Number
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    externalId String
    The external ID of the issue.
    humanTimeEstimate String
    The human-readable time estimate of the issue.
    humanTotalTimeSpent String
    The human-readable total time spent of the issue.
    id String
    The provider-assigned unique ID for this managed resource.
    issueId Number
    The instance-wide ID of the issue.
    issueLinkId Number
    The ID of the issue link.
    links Map<String>
    The links of the issue.
    mergeRequestsCount Number
    The number of merge requests associated with the issue.
    movedToId Number
    The ID of the issue that was moved to.
    references Map<String>
    The references of the issue.
    subscribed Boolean
    Whether the authenticated user is subscribed to the issue or not.
    taskCompletionStatuses List<Property Map>
    The task completion status. It's always a one element list.
    timeEstimate Number
    The time estimate of the issue.
    totalTimeSpent Number
    The total time spent of the issue.
    upvotes Number
    The number of upvotes the issue has received.
    userNotesCount Number
    The number of user notes on the issue.
    webUrl String
    The web URL of the issue.

    Look up Existing ProjectIssue Resource

    Get an existing ProjectIssue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ProjectIssueState, opts?: CustomResourceOptions): ProjectIssue
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assignee_ids: Optional[Sequence[int]] = None,
            author_id: Optional[int] = None,
            closed_at: Optional[str] = None,
            closed_by_user_id: Optional[int] = None,
            confidential: Optional[bool] = None,
            created_at: Optional[str] = None,
            delete_on_destroy: Optional[bool] = None,
            description: Optional[str] = None,
            discussion_locked: Optional[bool] = None,
            discussion_to_resolve: Optional[str] = None,
            downvotes: Optional[int] = None,
            due_date: Optional[str] = None,
            epic_id: Optional[int] = None,
            epic_issue_id: Optional[int] = None,
            external_id: Optional[str] = None,
            human_time_estimate: Optional[str] = None,
            human_total_time_spent: Optional[str] = None,
            iid: Optional[int] = None,
            issue_id: Optional[int] = None,
            issue_link_id: Optional[int] = None,
            issue_type: Optional[str] = None,
            labels: Optional[Sequence[str]] = None,
            links: Optional[Mapping[str, str]] = None,
            merge_request_to_resolve_discussions_of: Optional[int] = None,
            merge_requests_count: Optional[int] = None,
            milestone_id: Optional[int] = None,
            moved_to_id: Optional[int] = None,
            project: Optional[str] = None,
            references: Optional[Mapping[str, str]] = None,
            state: Optional[str] = None,
            subscribed: Optional[bool] = None,
            task_completion_statuses: Optional[Sequence[ProjectIssueTaskCompletionStatusArgs]] = None,
            time_estimate: Optional[int] = None,
            title: Optional[str] = None,
            total_time_spent: Optional[int] = None,
            updated_at: Optional[str] = None,
            upvotes: Optional[int] = None,
            user_notes_count: Optional[int] = None,
            web_url: Optional[str] = None,
            weight: Optional[int] = None) -> ProjectIssue
    func GetProjectIssue(ctx *Context, name string, id IDInput, state *ProjectIssueState, opts ...ResourceOption) (*ProjectIssue, error)
    public static ProjectIssue Get(string name, Input<string> id, ProjectIssueState? state, CustomResourceOptions? opts = null)
    public static ProjectIssue get(String name, Output<String> id, ProjectIssueState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AssigneeIds List<int>
    The IDs of the users to assign the issue to.
    AuthorId int
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    ClosedAt string
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    ClosedByUserId int
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    Confidential bool
    Set an issue to be confidential.
    CreatedAt string
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    DeleteOnDestroy bool
    Whether the issue is deleted instead of closed during destroy.
    Description string
    The description of an issue. Limited to 1,048,576 characters.
    DiscussionLocked bool
    Whether the issue is locked for discussions or not.
    DiscussionToResolve string
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    Downvotes int
    The number of downvotes the issue has received.
    DueDate string
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    EpicId int
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    EpicIssueId int
    The ID of the epic issue.
    ExternalId string
    The external ID of the issue.
    HumanTimeEstimate string
    The human-readable time estimate of the issue.
    HumanTotalTimeSpent string
    The human-readable total time spent of the issue.
    Iid int
    The internal ID of the project's issue.
    IssueId int
    The instance-wide ID of the issue.
    IssueLinkId int
    The ID of the issue link.
    IssueType string
    The type of issue. Valid values are: issue, incident, test_case.
    Labels List<string>
    The labels of an issue.
    Links Dictionary<string, string>
    The links of the issue.
    MergeRequestToResolveDiscussionsOf int
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    MergeRequestsCount int
    The number of merge requests associated with the issue.
    MilestoneId int
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    MovedToId int
    The ID of the issue that was moved to.
    Project string
    The name or ID of the project.
    References Dictionary<string, string>
    The references of the issue.
    State string
    The state of the issue. Valid values are: opened, closed.
    Subscribed bool
    Whether the authenticated user is subscribed to the issue or not.
    TaskCompletionStatuses List<Pulumi.GitLab.Inputs.ProjectIssueTaskCompletionStatus>
    The task completion status. It's always a one element list.
    TimeEstimate int
    The time estimate of the issue.
    Title string
    The title of the issue.
    TotalTimeSpent int
    The total time spent of the issue.
    UpdatedAt string
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    Upvotes int
    The number of upvotes the issue has received.
    UserNotesCount int
    The number of user notes on the issue.
    WebUrl string
    The web URL of the issue.
    Weight int
    The weight of the issue. Valid values are greater than or equal to 0.
    AssigneeIds []int
    The IDs of the users to assign the issue to.
    AuthorId int
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    ClosedAt string
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    ClosedByUserId int
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    Confidential bool
    Set an issue to be confidential.
    CreatedAt string
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    DeleteOnDestroy bool
    Whether the issue is deleted instead of closed during destroy.
    Description string
    The description of an issue. Limited to 1,048,576 characters.
    DiscussionLocked bool
    Whether the issue is locked for discussions or not.
    DiscussionToResolve string
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    Downvotes int
    The number of downvotes the issue has received.
    DueDate string
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    EpicId int
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    EpicIssueId int
    The ID of the epic issue.
    ExternalId string
    The external ID of the issue.
    HumanTimeEstimate string
    The human-readable time estimate of the issue.
    HumanTotalTimeSpent string
    The human-readable total time spent of the issue.
    Iid int
    The internal ID of the project's issue.
    IssueId int
    The instance-wide ID of the issue.
    IssueLinkId int
    The ID of the issue link.
    IssueType string
    The type of issue. Valid values are: issue, incident, test_case.
    Labels []string
    The labels of an issue.
    Links map[string]string
    The links of the issue.
    MergeRequestToResolveDiscussionsOf int
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    MergeRequestsCount int
    The number of merge requests associated with the issue.
    MilestoneId int
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    MovedToId int
    The ID of the issue that was moved to.
    Project string
    The name or ID of the project.
    References map[string]string
    The references of the issue.
    State string
    The state of the issue. Valid values are: opened, closed.
    Subscribed bool
    Whether the authenticated user is subscribed to the issue or not.
    TaskCompletionStatuses []ProjectIssueTaskCompletionStatusArgs
    The task completion status. It's always a one element list.
    TimeEstimate int
    The time estimate of the issue.
    Title string
    The title of the issue.
    TotalTimeSpent int
    The total time spent of the issue.
    UpdatedAt string
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    Upvotes int
    The number of upvotes the issue has received.
    UserNotesCount int
    The number of user notes on the issue.
    WebUrl string
    The web URL of the issue.
    Weight int
    The weight of the issue. Valid values are greater than or equal to 0.
    assigneeIds List<Integer>
    The IDs of the users to assign the issue to.
    authorId Integer
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    closedAt String
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    closedByUserId Integer
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    confidential Boolean
    Set an issue to be confidential.
    createdAt String
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    deleteOnDestroy Boolean
    Whether the issue is deleted instead of closed during destroy.
    description String
    The description of an issue. Limited to 1,048,576 characters.
    discussionLocked Boolean
    Whether the issue is locked for discussions or not.
    discussionToResolve String
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    downvotes Integer
    The number of downvotes the issue has received.
    dueDate String
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    epicId Integer
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    epicIssueId Integer
    The ID of the epic issue.
    externalId String
    The external ID of the issue.
    humanTimeEstimate String
    The human-readable time estimate of the issue.
    humanTotalTimeSpent String
    The human-readable total time spent of the issue.
    iid Integer
    The internal ID of the project's issue.
    issueId Integer
    The instance-wide ID of the issue.
    issueLinkId Integer
    The ID of the issue link.
    issueType String
    The type of issue. Valid values are: issue, incident, test_case.
    labels List<String>
    The labels of an issue.
    links Map<String,String>
    The links of the issue.
    mergeRequestToResolveDiscussionsOf Integer
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    mergeRequestsCount Integer
    The number of merge requests associated with the issue.
    milestoneId Integer
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    movedToId Integer
    The ID of the issue that was moved to.
    project String
    The name or ID of the project.
    references Map<String,String>
    The references of the issue.
    state String
    The state of the issue. Valid values are: opened, closed.
    subscribed Boolean
    Whether the authenticated user is subscribed to the issue or not.
    taskCompletionStatuses List<ProjectIssueTaskCompletionStatus>
    The task completion status. It's always a one element list.
    timeEstimate Integer
    The time estimate of the issue.
    title String
    The title of the issue.
    totalTimeSpent Integer
    The total time spent of the issue.
    updatedAt String
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    upvotes Integer
    The number of upvotes the issue has received.
    userNotesCount Integer
    The number of user notes on the issue.
    webUrl String
    The web URL of the issue.
    weight Integer
    The weight of the issue. Valid values are greater than or equal to 0.
    assigneeIds number[]
    The IDs of the users to assign the issue to.
    authorId number
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    closedAt string
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    closedByUserId number
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    confidential boolean
    Set an issue to be confidential.
    createdAt string
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    deleteOnDestroy boolean
    Whether the issue is deleted instead of closed during destroy.
    description string
    The description of an issue. Limited to 1,048,576 characters.
    discussionLocked boolean
    Whether the issue is locked for discussions or not.
    discussionToResolve string
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    downvotes number
    The number of downvotes the issue has received.
    dueDate string
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    epicId number
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    epicIssueId number
    The ID of the epic issue.
    externalId string
    The external ID of the issue.
    humanTimeEstimate string
    The human-readable time estimate of the issue.
    humanTotalTimeSpent string
    The human-readable total time spent of the issue.
    iid number
    The internal ID of the project's issue.
    issueId number
    The instance-wide ID of the issue.
    issueLinkId number
    The ID of the issue link.
    issueType string
    The type of issue. Valid values are: issue, incident, test_case.
    labels string[]
    The labels of an issue.
    links {[key: string]: string}
    The links of the issue.
    mergeRequestToResolveDiscussionsOf number
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    mergeRequestsCount number
    The number of merge requests associated with the issue.
    milestoneId number
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    movedToId number
    The ID of the issue that was moved to.
    project string
    The name or ID of the project.
    references {[key: string]: string}
    The references of the issue.
    state string
    The state of the issue. Valid values are: opened, closed.
    subscribed boolean
    Whether the authenticated user is subscribed to the issue or not.
    taskCompletionStatuses ProjectIssueTaskCompletionStatus[]
    The task completion status. It's always a one element list.
    timeEstimate number
    The time estimate of the issue.
    title string
    The title of the issue.
    totalTimeSpent number
    The total time spent of the issue.
    updatedAt string
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    upvotes number
    The number of upvotes the issue has received.
    userNotesCount number
    The number of user notes on the issue.
    webUrl string
    The web URL of the issue.
    weight number
    The weight of the issue. Valid values are greater than or equal to 0.
    assignee_ids Sequence[int]
    The IDs of the users to assign the issue to.
    author_id int
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    closed_at str
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    closed_by_user_id int
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    confidential bool
    Set an issue to be confidential.
    created_at str
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    delete_on_destroy bool
    Whether the issue is deleted instead of closed during destroy.
    description str
    The description of an issue. Limited to 1,048,576 characters.
    discussion_locked bool
    Whether the issue is locked for discussions or not.
    discussion_to_resolve str
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    downvotes int
    The number of downvotes the issue has received.
    due_date str
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    epic_id int
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    epic_issue_id int
    The ID of the epic issue.
    external_id str
    The external ID of the issue.
    human_time_estimate str
    The human-readable time estimate of the issue.
    human_total_time_spent str
    The human-readable total time spent of the issue.
    iid int
    The internal ID of the project's issue.
    issue_id int
    The instance-wide ID of the issue.
    issue_link_id int
    The ID of the issue link.
    issue_type str
    The type of issue. Valid values are: issue, incident, test_case.
    labels Sequence[str]
    The labels of an issue.
    links Mapping[str, str]
    The links of the issue.
    merge_request_to_resolve_discussions_of int
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    merge_requests_count int
    The number of merge requests associated with the issue.
    milestone_id int
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    moved_to_id int
    The ID of the issue that was moved to.
    project str
    The name or ID of the project.
    references Mapping[str, str]
    The references of the issue.
    state str
    The state of the issue. Valid values are: opened, closed.
    subscribed bool
    Whether the authenticated user is subscribed to the issue or not.
    task_completion_statuses Sequence[ProjectIssueTaskCompletionStatusArgs]
    The task completion status. It's always a one element list.
    time_estimate int
    The time estimate of the issue.
    title str
    The title of the issue.
    total_time_spent int
    The total time spent of the issue.
    updated_at str
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    upvotes int
    The number of upvotes the issue has received.
    user_notes_count int
    The number of user notes on the issue.
    web_url str
    The web URL of the issue.
    weight int
    The weight of the issue. Valid values are greater than or equal to 0.
    assigneeIds List<Number>
    The IDs of the users to assign the issue to.
    authorId Number
    The ID of the author of the issue. Use gitlab.User data source to get more information about the user.
    closedAt String
    When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    closedByUserId Number
    The ID of the user that closed the issue. Use gitlab.User data source to get more information about the user.
    confidential Boolean
    Set an issue to be confidential.
    createdAt String
    When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
    deleteOnDestroy Boolean
    Whether the issue is deleted instead of closed during destroy.
    description String
    The description of an issue. Limited to 1,048,576 characters.
    discussionLocked Boolean
    Whether the issue is locked for discussions or not.
    discussionToResolve String
    The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with mergerequesttoresolvediscussions_of.
    downvotes Number
    The number of downvotes the issue has received.
    dueDate String
    The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
    epicId Number
    ID of the epic to add the issue to. Valid values are greater than or equal to 0.
    epicIssueId Number
    The ID of the epic issue.
    externalId String
    The external ID of the issue.
    humanTimeEstimate String
    The human-readable time estimate of the issue.
    humanTotalTimeSpent String
    The human-readable total time spent of the issue.
    iid Number
    The internal ID of the project's issue.
    issueId Number
    The instance-wide ID of the issue.
    issueLinkId Number
    The ID of the issue link.
    issueType String
    The type of issue. Valid values are: issue, incident, test_case.
    labels List<String>
    The labels of an issue.
    links Map<String>
    The links of the issue.
    mergeRequestToResolveDiscussionsOf Number
    The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
    mergeRequestsCount Number
    The number of merge requests associated with the issue.
    milestoneId Number
    The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
    movedToId Number
    The ID of the issue that was moved to.
    project String
    The name or ID of the project.
    references Map<String>
    The references of the issue.
    state String
    The state of the issue. Valid values are: opened, closed.
    subscribed Boolean
    Whether the authenticated user is subscribed to the issue or not.
    taskCompletionStatuses List<Property Map>
    The task completion status. It's always a one element list.
    timeEstimate Number
    The time estimate of the issue.
    title String
    The title of the issue.
    totalTimeSpent Number
    The total time spent of the issue.
    updatedAt String
    When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
    upvotes Number
    The number of upvotes the issue has received.
    userNotesCount Number
    The number of user notes on the issue.
    webUrl String
    The web URL of the issue.
    weight Number
    The weight of the issue. Valid values are greater than or equal to 0.

    Supporting Types

    ProjectIssueTaskCompletionStatus, ProjectIssueTaskCompletionStatusArgs

    CompletedCount int
    The number of tasks that are completed.
    Count int
    The number of tasks.
    CompletedCount int
    The number of tasks that are completed.
    Count int
    The number of tasks.
    completedCount Integer
    The number of tasks that are completed.
    count Integer
    The number of tasks.
    completedCount number
    The number of tasks that are completed.
    count number
    The number of tasks.
    completed_count int
    The number of tasks that are completed.
    count int
    The number of tasks.
    completedCount Number
    The number of tasks that are completed.
    count Number
    The number of tasks.

    Import

    You can import this resource with an id made up of {project-id}:{issue-id}, e.g.

    $ pulumi import gitlab:index/projectIssue:ProjectIssue welcome_issue 42:1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi