gitlab.ProjectIssue
Explore with Pulumi AI
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.
- Assignee
Ids List<int> - The IDs of the users to assign the issue to.
- Confidential bool
- Set an issue to be confidential.
- Created
At 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.
- Delete
On boolDestroy - Whether the issue is deleted instead of closed during destroy.
- Description string
- 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 stringResolve - 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 string - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- Epic
Issue intId - The ID of the epic issue.
- Iid int
- The internal ID of the project's issue.
- Issue
Type string - The type of issue. Valid values are:
issue
,incident
,test_case
. - Labels List<string>
- The labels of an issue.
- Merge
Request intTo Resolve Discussions Of - 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 string
- The state of the issue. Valid values are:
opened
,closed
. - Updated
At 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.
- Assignee
Ids []int - The IDs of the users to assign the issue to.
- Confidential bool
- Set an issue to be confidential.
- Created
At 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.
- Delete
On boolDestroy - Whether the issue is deleted instead of closed during destroy.
- Description string
- 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 stringResolve - 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 string - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- Epic
Issue intId - The ID of the epic issue.
- Iid int
- The internal ID of the project's issue.
- Issue
Type string - The type of issue. Valid values are:
issue
,incident
,test_case
. - Labels []string
- The labels of an issue.
- Merge
Request intTo Resolve Discussions Of - 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 string
- The state of the issue. Valid values are:
opened
,closed
. - Updated
At 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.
- assignee
Ids List<Integer> - The IDs of the users to assign the issue to.
- confidential Boolean
- Set an issue to be confidential.
- created
At 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.
- delete
On BooleanDestroy - Whether the issue is deleted instead of closed during destroy.
- description String
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked Boolean - Whether the issue is locked for discussions or not.
- discussion
To StringResolve - 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 String - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Issue IntegerId - The ID of the epic issue.
- iid Integer
- The internal ID of the project's issue.
- issue
Type String - The type of issue. Valid values are:
issue
,incident
,test_case
. - labels List<String>
- The labels of an issue.
- merge
Request IntegerTo Resolve Discussions Of - 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 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
. - updated
At 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.
- assignee
Ids number[] - The IDs of the users to assign the issue to.
- confidential boolean
- Set an issue to be confidential.
- created
At 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.
- delete
On booleanDestroy - Whether the issue is deleted instead of closed during destroy.
- description string
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked boolean - Whether the issue is locked for discussions or not.
- discussion
To stringResolve - 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 string - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Issue numberId - The ID of the epic issue.
- iid number
- The internal ID of the project's issue.
- issue
Type string - The type of issue. Valid values are:
issue
,incident
,test_case
. - labels string[]
- The labels of an issue.
- merge
Request numberTo Resolve Discussions Of - 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 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
. - updated
At 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_ booldestroy - 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_ strresolve - 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_ intid - 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_ intto_ resolve_ discussions_ of - 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.
- assignee
Ids List<Number> - The IDs of the users to assign the issue to.
- confidential Boolean
- Set an issue to be confidential.
- created
At 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.
- delete
On BooleanDestroy - Whether the issue is deleted instead of closed during destroy.
- description String
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked Boolean - Whether the issue is locked for discussions or not.
- discussion
To StringResolve - 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 String - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Issue NumberId - The ID of the epic issue.
- iid Number
- The internal ID of the project's issue.
- issue
Type String - The type of issue. Valid values are:
issue
,incident
,test_case
. - labels List<String>
- The labels of an issue.
- merge
Request NumberTo Resolve Discussions Of - 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 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
. - updated
At 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:
- int
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - Closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- Closed
By intUser Id - 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 string - The external ID of the issue.
- Human
Time stringEstimate - The human-readable time estimate of the issue.
- Human
Total stringTime Spent - The human-readable total time spent of the issue.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issue
Id int - The instance-wide ID of the issue.
- Issue
Link intId - The ID of the issue link.
- Links Dictionary<string, string>
- The links of the issue.
- Merge
Requests intCount - The number of merge requests associated with the issue.
- Moved
To intId - 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.
- Task
Completion List<Pulumi.Statuses Git Lab. Outputs. Project Issue Task Completion Status> - The task completion status. It's always a one element list.
- Time
Estimate int - The time estimate of the issue.
- Total
Time intSpent - The total time spent of the issue.
- Upvotes int
- The number of upvotes the issue has received.
- User
Notes intCount - The number of user notes on the issue.
- Web
Url string - The web URL of the issue.
- int
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - Closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- Closed
By intUser Id - 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 string - The external ID of the issue.
- Human
Time stringEstimate - The human-readable time estimate of the issue.
- Human
Total stringTime Spent - The human-readable total time spent of the issue.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issue
Id int - The instance-wide ID of the issue.
- Issue
Link intId - The ID of the issue link.
- Links map[string]string
- The links of the issue.
- Merge
Requests intCount - The number of merge requests associated with the issue.
- Moved
To intId - 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.
- Task
Completion []ProjectStatuses Issue Task Completion Status - The task completion status. It's always a one element list.
- Time
Estimate int - The time estimate of the issue.
- Total
Time intSpent - The total time spent of the issue.
- Upvotes int
- The number of upvotes the issue has received.
- User
Notes intCount - The number of user notes on the issue.
- Web
Url string - The web URL of the issue.
- Integer
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At String - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By IntegerUser Id - 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.
- epic
Id Integer - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- external
Id String - The external ID of the issue.
- human
Time StringEstimate - The human-readable time estimate of the issue.
- human
Total StringTime Spent - The human-readable total time spent of the issue.
- id String
- The provider-assigned unique ID for this managed resource.
- issue
Id Integer - The instance-wide ID of the issue.
- issue
Link IntegerId - The ID of the issue link.
- links Map<String,String>
- The links of the issue.
- merge
Requests IntegerCount - The number of merge requests associated with the issue.
- moved
To IntegerId - 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.
- task
Completion List<ProjectStatuses Issue Task Completion Status> - The task completion status. It's always a one element list.
- time
Estimate Integer - The time estimate of the issue.
- total
Time IntegerSpent - The total time spent of the issue.
- upvotes Integer
- The number of upvotes the issue has received.
- user
Notes IntegerCount - The number of user notes on the issue.
- web
Url String - The web URL of the issue.
- number
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By numberUser Id - 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.
- epic
Id number - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- external
Id string - The external ID of the issue.
- human
Time stringEstimate - The human-readable time estimate of the issue.
- human
Total stringTime Spent - The human-readable total time spent of the issue.
- id string
- The provider-assigned unique ID for this managed resource.
- issue
Id number - The instance-wide ID of the issue.
- issue
Link numberId - The ID of the issue link.
- links {[key: string]: string}
- The links of the issue.
- merge
Requests numberCount - The number of merge requests associated with the issue.
- moved
To numberId - 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.
- task
Completion ProjectStatuses Issue Task Completion Status[] - The task completion status. It's always a one element list.
- time
Estimate number - The time estimate of the issue.
- total
Time numberSpent - The total time spent of the issue.
- upvotes number
- The number of upvotes the issue has received.
- user
Notes numberCount - The number of user notes on the issue.
- web
Url string - The web URL of the issue.
- 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_ intuser_ id - 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_ strestimate - The human-readable time estimate of the issue.
- human_
total_ strtime_ spent - 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_ intid - The ID of the issue link.
- links Mapping[str, str]
- The links of the issue.
- merge_
requests_ intcount - The number of merge requests associated with the issue.
- moved_
to_ intid - 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_ Sequence[Projectstatuses Issue Task Completion Status] - The task completion status. It's always a one element list.
- time_
estimate int - The time estimate of the issue.
- total_
time_ intspent - The total time spent of the issue.
- upvotes int
- The number of upvotes the issue has received.
- user_
notes_ intcount - The number of user notes on the issue.
- web_
url str - The web URL of the issue.
- Number
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At String - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By NumberUser Id - 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.
- epic
Id Number - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- external
Id String - The external ID of the issue.
- human
Time StringEstimate - The human-readable time estimate of the issue.
- human
Total StringTime Spent - The human-readable total time spent of the issue.
- id String
- The provider-assigned unique ID for this managed resource.
- issue
Id Number - The instance-wide ID of the issue.
- issue
Link NumberId - The ID of the issue link.
- links Map<String>
- The links of the issue.
- merge
Requests NumberCount - The number of merge requests associated with the issue.
- moved
To NumberId - 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.
- task
Completion List<Property Map>Statuses - The task completion status. It's always a one element list.
- time
Estimate Number - The time estimate of the issue.
- total
Time NumberSpent - The total time spent of the issue.
- upvotes Number
- The number of upvotes the issue has received.
- user
Notes NumberCount - The number of user notes on the issue.
- web
Url 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.
- Assignee
Ids List<int> - The IDs of the users to assign the issue to.
- int
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - Closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- Closed
By intUser Id - 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 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.
- Delete
On boolDestroy - Whether the issue is deleted instead of closed during destroy.
- Description string
- 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 stringResolve - 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 string - 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 intId - The ID of the epic issue.
- External
Id string - The external ID of the issue.
- Human
Time stringEstimate - The human-readable time estimate of the issue.
- Human
Total stringTime Spent - 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 intId - The ID of the issue link.
- Issue
Type 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.
- Merge
Request intTo Resolve Discussions Of - 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 intCount - 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 intId - 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.
- Task
Completion List<Pulumi.Statuses Git Lab. Inputs. Project Issue Task Completion Status> - The task completion status. It's always a one element list.
- Time
Estimate int - The time estimate of the issue.
- Title string
- The title of the issue.
- Total
Time intSpent - The total time spent of the issue.
- Updated
At 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.
- User
Notes intCount - The number of user notes on the issue.
- Web
Url string - The web URL of the issue.
- Weight int
- The weight of the issue. Valid values are greater than or equal to 0.
- Assignee
Ids []int - The IDs of the users to assign the issue to.
- int
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - Closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- Closed
By intUser Id - 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 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.
- Delete
On boolDestroy - Whether the issue is deleted instead of closed during destroy.
- Description string
- 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 stringResolve - 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 string - 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 intId - The ID of the epic issue.
- External
Id string - The external ID of the issue.
- Human
Time stringEstimate - The human-readable time estimate of the issue.
- Human
Total stringTime Spent - 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 intId - The ID of the issue link.
- Issue
Type 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.
- Merge
Request intTo Resolve Discussions Of - 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 intCount - 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 intId - 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.
- Task
Completion []ProjectStatuses Issue Task Completion Status Args - The task completion status. It's always a one element list.
- Time
Estimate int - The time estimate of the issue.
- Title string
- The title of the issue.
- Total
Time intSpent - The total time spent of the issue.
- Updated
At 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.
- User
Notes intCount - The number of user notes on the issue.
- Web
Url string - The web URL of the issue.
- Weight int
- The weight of the issue. Valid values are greater than or equal to 0.
- assignee
Ids List<Integer> - The IDs of the users to assign the issue to.
- Integer
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At String - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By IntegerUser Id - 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.
- created
At 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.
- delete
On BooleanDestroy - Whether the issue is deleted instead of closed during destroy.
- description String
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked Boolean - Whether the issue is locked for discussions or not.
- discussion
To StringResolve - 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.
- due
Date String - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Id Integer - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- epic
Issue IntegerId - The ID of the epic issue.
- external
Id String - The external ID of the issue.
- human
Time StringEstimate - The human-readable time estimate of the issue.
- human
Total StringTime Spent - The human-readable total time spent of the issue.
- iid Integer
- The internal ID of the project's issue.
- issue
Id Integer - The instance-wide ID of the issue.
- issue
Link IntegerId - The ID of the issue link.
- issue
Type 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.
- merge
Request IntegerTo Resolve Discussions Of - 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 IntegerCount - The number of merge requests associated with the issue.
- milestone
Id 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.
- moved
To IntegerId - 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.
- task
Completion List<ProjectStatuses Issue Task Completion Status> - The task completion status. It's always a one element list.
- time
Estimate Integer - The time estimate of the issue.
- title String
- The title of the issue.
- total
Time IntegerSpent - The total time spent of the issue.
- updated
At 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.
- user
Notes IntegerCount - The number of user notes on the issue.
- web
Url String - The web URL of the issue.
- weight Integer
- The weight of the issue. Valid values are greater than or equal to 0.
- assignee
Ids number[] - The IDs of the users to assign the issue to.
- number
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By numberUser Id - 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.
- created
At 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.
- delete
On booleanDestroy - Whether the issue is deleted instead of closed during destroy.
- description string
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked boolean - Whether the issue is locked for discussions or not.
- discussion
To stringResolve - 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.
- due
Date string - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Id number - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- epic
Issue numberId - The ID of the epic issue.
- external
Id string - The external ID of the issue.
- human
Time stringEstimate - The human-readable time estimate of the issue.
- human
Total stringTime Spent - The human-readable total time spent of the issue.
- iid number
- The internal ID of the project's issue.
- issue
Id number - The instance-wide ID of the issue.
- issue
Link numberId - The ID of the issue link.
- issue
Type 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.
- merge
Request numberTo Resolve Discussions Of - 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 numberCount - The number of merge requests associated with the issue.
- milestone
Id 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.
- moved
To numberId - 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.
- task
Completion ProjectStatuses Issue Task Completion Status[] - The task completion status. It's always a one element list.
- time
Estimate number - The time estimate of the issue.
- title string
- The title of the issue.
- total
Time numberSpent - The total time spent of the issue.
- updated
At 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.
- user
Notes numberCount - The number of user notes on the issue.
- web
Url 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.
- 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_ intuser_ id - 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_ booldestroy - 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_ strresolve - 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_ intid - The ID of the epic issue.
- external_
id str - The external ID of the issue.
- human_
time_ strestimate - The human-readable time estimate of the issue.
- human_
total_ strtime_ spent - 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_ intid - 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_ intto_ resolve_ discussions_ of - 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_ intcount - 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_ intid - 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_ Sequence[Projectstatuses Issue Task Completion Status Args] - 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_ intspent - 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_ intcount - 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.
- assignee
Ids List<Number> - The IDs of the users to assign the issue to.
- Number
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At String - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By NumberUser Id - 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.
- created
At 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.
- delete
On BooleanDestroy - Whether the issue is deleted instead of closed during destroy.
- description String
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked Boolean - Whether the issue is locked for discussions or not.
- discussion
To StringResolve - 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.
- due
Date String - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Id Number - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- epic
Issue NumberId - The ID of the epic issue.
- external
Id String - The external ID of the issue.
- human
Time StringEstimate - The human-readable time estimate of the issue.
- human
Total StringTime Spent - The human-readable total time spent of the issue.
- iid Number
- The internal ID of the project's issue.
- issue
Id Number - The instance-wide ID of the issue.
- issue
Link NumberId - The ID of the issue link.
- issue
Type 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.
- merge
Request NumberTo Resolve Discussions Of - 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 NumberCount - The number of merge requests associated with the issue.
- milestone
Id 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.
- moved
To NumberId - 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.
- task
Completion List<Property Map>Statuses - The task completion status. It's always a one element list.
- time
Estimate Number - The time estimate of the issue.
- title String
- The title of the issue.
- total
Time NumberSpent - The total time spent of the issue.
- updated
At 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.
- user
Notes NumberCount - The number of user notes on the issue.
- web
Url 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
- Completed
Count int - The number of tasks that are completed.
- Count int
- The number of tasks.
- Completed
Count int - The number of tasks that are completed.
- Count int
- The number of tasks.
- completed
Count Integer - The number of tasks that are completed.
- count Integer
- The number of tasks.
- completed
Count 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.
- completed
Count 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.