Skip to content

Latest commit

 

History

History
2316 lines (1436 loc) · 92.7 KB

projectIssue.typescript.md

File metadata and controls

2316 lines (1436 loc) · 92.7 KB

projectIssue Submodule

Constructs

ProjectIssue

Represents a {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue gitlab_project_issue}.

Initializers

import { projectIssue } from '@cdktf/provider-gitlab'

new projectIssue.ProjectIssue(scope: Construct, id: string, config: ProjectIssueConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config ProjectIssueConfig No description.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
resetAssigneeIds No description.
resetConfidential No description.
resetCreatedAt No description.
resetDeleteOnDestroy No description.
resetDescription No description.
resetDiscussionLocked No description.
resetDiscussionToResolve No description.
resetDueDate No description.
resetEpicIssueId No description.
resetId No description.
resetIid No description.
resetIssueType No description.
resetLabels No description.
resetMergeRequestToResolveDiscussionsOf No description.
resetMilestoneId No description.
resetState No description.
resetUpdatedAt No description.
resetWeight No description.

toString
public toString(): string

Returns a string representation of this construct.

addOverride
public addOverride(path: string, value: any): void
pathRequired
  • Type: string

valueRequired
  • Type: any

overrideLogicalId
public overrideLogicalId(newLogicalId: string): void

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


resetOverrideLogicalId
public resetOverrideLogicalId(): void

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public toHclTerraform(): any
toMetadata
public toMetadata(): any
toTerraform
public toTerraform(): any

Adds this resource to the terraform JSON output.

addMoveTarget
public addMoveTarget(moveTarget: string): void

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: string

The string move target that will correspond to this resource.


getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

hasResourceMove
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveById
importFrom
public importFrom(id: string, provider?: TerraformProvider): void
idRequired
  • Type: string

providerOptional
  • Type: cdktf.TerraformProvider

interpolationForAttribute
public interpolationForAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

moveFromId
public moveFromId(id: string): void

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public moveTo(moveTarget: string, index?: string | number): void

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: string | number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public moveToId(id: string): void

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


resetAssigneeIds
public resetAssigneeIds(): void
resetConfidential
public resetConfidential(): void
resetCreatedAt
public resetCreatedAt(): void
resetDeleteOnDestroy
public resetDeleteOnDestroy(): void
resetDescription
public resetDescription(): void
resetDiscussionLocked
public resetDiscussionLocked(): void
resetDiscussionToResolve
public resetDiscussionToResolve(): void
resetDueDate
public resetDueDate(): void
resetEpicIssueId
public resetEpicIssueId(): void
resetId
public resetId(): void
resetIid
public resetIid(): void
resetIssueType
public resetIssueType(): void
resetLabels
public resetLabels(): void
resetMergeRequestToResolveDiscussionsOf
public resetMergeRequestToResolveDiscussionsOf(): void
resetMilestoneId
public resetMilestoneId(): void
resetState
public resetState(): void
resetUpdatedAt
public resetUpdatedAt(): void
resetWeight
public resetWeight(): void

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a ProjectIssue resource upon running "cdktf plan ".

isConstruct
import { projectIssue } from '@cdktf/provider-gitlab'

projectIssue.ProjectIssue.isConstruct(x: any)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: any

Any object.


isTerraformElement
import { projectIssue } from '@cdktf/provider-gitlab'

projectIssue.ProjectIssue.isTerraformElement(x: any)
xRequired
  • Type: any

isTerraformResource
import { projectIssue } from '@cdktf/provider-gitlab'

projectIssue.ProjectIssue.isTerraformResource(x: any)
xRequired
  • Type: any

generateConfigForImport
import { projectIssue } from '@cdktf/provider-gitlab'

projectIssue.ProjectIssue.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)

Generates CDKTF code for importing a ProjectIssue resource upon running "cdktf plan ".

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: string

The construct id used in the generated config for the ProjectIssue to import.


importFromIdRequired
  • Type: string

The id of the existing ProjectIssue that should be imported.

Refer to the {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: cdktf.TerraformProvider

? Optional instance of the provider where the ProjectIssue to import is found.


Properties

Name Type Description
node constructs.Node The tree node.
cdktfStack cdktf.TerraformStack No description.
fqn string No description.
friendlyUniqueId string No description.
terraformMetaArguments {[ key: string ]: any} No description.
terraformResourceType string No description.
terraformGeneratorMetadata cdktf.TerraformProviderGeneratorMetadata No description.
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn string[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
authorId number No description.
closedAt string No description.
closedByUserId number No description.
downvotes number No description.
epicId number No description.
externalId string No description.
humanTimeEstimate string No description.
humanTotalTimeSpent string No description.
issueId number No description.
issueLinkId number No description.
links cdktf.StringMap No description.
mergeRequestsCount number No description.
movedToId number No description.
references cdktf.StringMap No description.
subscribed cdktf.IResolvable No description.
taskCompletionStatus ProjectIssueTaskCompletionStatusList No description.
timeEstimate number No description.
totalTimeSpent number No description.
upvotes number No description.
userNotesCount number No description.
webUrl string No description.
assigneeIdsInput number[] No description.
confidentialInput boolean | cdktf.IResolvable No description.
createdAtInput string No description.
deleteOnDestroyInput boolean | cdktf.IResolvable No description.
descriptionInput string No description.
discussionLockedInput boolean | cdktf.IResolvable No description.
discussionToResolveInput string No description.
dueDateInput string No description.
epicIssueIdInput number No description.
idInput string No description.
iidInput number No description.
issueTypeInput string No description.
labelsInput string[] No description.
mergeRequestToResolveDiscussionsOfInput number No description.
milestoneIdInput number No description.
projectInput string No description.
stateInput string No description.
titleInput string No description.
updatedAtInput string No description.
weightInput number No description.
assigneeIds number[] No description.
confidential boolean | cdktf.IResolvable No description.
createdAt string No description.
deleteOnDestroy boolean | cdktf.IResolvable No description.
description string No description.
discussionLocked boolean | cdktf.IResolvable No description.
discussionToResolve string No description.
dueDate string No description.
epicIssueId number No description.
id string No description.
iid number No description.
issueType string No description.
labels string[] No description.
mergeRequestToResolveDiscussionsOf number No description.
milestoneId number No description.
project string No description.
state string No description.
title string No description.
updatedAt string No description.
weight number No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


cdktfStackRequired
public readonly cdktfStack: TerraformStack;
  • Type: cdktf.TerraformStack

fqnRequired
public readonly fqn: string;
  • Type: string

friendlyUniqueIdRequired
public readonly friendlyUniqueId: string;
  • Type: string

terraformMetaArgumentsRequired
public readonly terraformMetaArguments: {[ key: string ]: any};
  • Type: {[ key: string ]: any}

terraformResourceTypeRequired
public readonly terraformResourceType: string;
  • Type: string

terraformGeneratorMetadataOptional
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
  • Type: cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: string[];
  • Type: string[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

authorIdRequired
public readonly authorId: number;
  • Type: number

closedAtRequired
public readonly closedAt: string;
  • Type: string

closedByUserIdRequired
public readonly closedByUserId: number;
  • Type: number

downvotesRequired
public readonly downvotes: number;
  • Type: number

epicIdRequired
public readonly epicId: number;
  • Type: number

externalIdRequired
public readonly externalId: string;
  • Type: string

humanTimeEstimateRequired
public readonly humanTimeEstimate: string;
  • Type: string

humanTotalTimeSpentRequired
public readonly humanTotalTimeSpent: string;
  • Type: string

issueIdRequired
public readonly issueId: number;
  • Type: number

issueLinkIdRequired
public readonly issueLinkId: number;
  • Type: number

linksRequired
public readonly links: StringMap;
  • Type: cdktf.StringMap

mergeRequestsCountRequired
public readonly mergeRequestsCount: number;
  • Type: number

movedToIdRequired
public readonly movedToId: number;
  • Type: number

referencesRequired
public readonly references: StringMap;
  • Type: cdktf.StringMap

subscribedRequired
public readonly subscribed: IResolvable;
  • Type: cdktf.IResolvable

taskCompletionStatusRequired
public readonly taskCompletionStatus: ProjectIssueTaskCompletionStatusList;

timeEstimateRequired
public readonly timeEstimate: number;
  • Type: number

totalTimeSpentRequired
public readonly totalTimeSpent: number;
  • Type: number

upvotesRequired
public readonly upvotes: number;
  • Type: number

userNotesCountRequired
public readonly userNotesCount: number;
  • Type: number

webUrlRequired
public readonly webUrl: string;
  • Type: string

assigneeIdsInputOptional
public readonly assigneeIdsInput: number[];
  • Type: number[]

confidentialInputOptional
public readonly confidentialInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

createdAtInputOptional
public readonly createdAtInput: string;
  • Type: string

deleteOnDestroyInputOptional
public readonly deleteOnDestroyInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

descriptionInputOptional
public readonly descriptionInput: string;
  • Type: string

discussionLockedInputOptional
public readonly discussionLockedInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

discussionToResolveInputOptional
public readonly discussionToResolveInput: string;
  • Type: string

dueDateInputOptional
public readonly dueDateInput: string;
  • Type: string

epicIssueIdInputOptional
public readonly epicIssueIdInput: number;
  • Type: number

idInputOptional
public readonly idInput: string;
  • Type: string

iidInputOptional
public readonly iidInput: number;
  • Type: number

issueTypeInputOptional
public readonly issueTypeInput: string;
  • Type: string

labelsInputOptional
public readonly labelsInput: string[];
  • Type: string[]

mergeRequestToResolveDiscussionsOfInputOptional
public readonly mergeRequestToResolveDiscussionsOfInput: number;
  • Type: number

milestoneIdInputOptional
public readonly milestoneIdInput: number;
  • Type: number

projectInputOptional
public readonly projectInput: string;
  • Type: string

stateInputOptional
public readonly stateInput: string;
  • Type: string

titleInputOptional
public readonly titleInput: string;
  • Type: string

updatedAtInputOptional
public readonly updatedAtInput: string;
  • Type: string

weightInputOptional
public readonly weightInput: number;
  • Type: number

assigneeIdsRequired
public readonly assigneeIds: number[];
  • Type: number[]

confidentialRequired
public readonly confidential: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

createdAtRequired
public readonly createdAt: string;
  • Type: string

deleteOnDestroyRequired
public readonly deleteOnDestroy: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

descriptionRequired
public readonly description: string;
  • Type: string

discussionLockedRequired
public readonly discussionLocked: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

discussionToResolveRequired
public readonly discussionToResolve: string;
  • Type: string

dueDateRequired
public readonly dueDate: string;
  • Type: string

epicIssueIdRequired
public readonly epicIssueId: number;
  • Type: number

idRequired
public readonly id: string;
  • Type: string

iidRequired
public readonly iid: number;
  • Type: number

issueTypeRequired
public readonly issueType: string;
  • Type: string

labelsRequired
public readonly labels: string[];
  • Type: string[]

mergeRequestToResolveDiscussionsOfRequired
public readonly mergeRequestToResolveDiscussionsOf: number;
  • Type: number

milestoneIdRequired
public readonly milestoneId: number;
  • Type: number

projectRequired
public readonly project: string;
  • Type: string

stateRequired
public readonly state: string;
  • Type: string

titleRequired
public readonly title: string;
  • Type: string

updatedAtRequired
public readonly updatedAt: string;
  • Type: string

weightRequired
public readonly weight: number;
  • Type: number

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

ProjectIssueConfig

Initializer

import { projectIssue } from '@cdktf/provider-gitlab'

const projectIssueConfig: projectIssue.ProjectIssueConfig = { ... }

Properties

Name Type Description
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn cdktf.ITerraformDependable[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
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 | cdktf.IResolvable Set an issue to be confidential.
createdAt string When the issue was created.
deleteOnDestroy boolean | cdktf.IResolvable 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 | cdktf.IResolvable Whether the issue is locked for discussions or not.
discussionToResolve string The ID of a discussion to resolve.
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.
id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#id ProjectIssue#id}.
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.
milestoneId number The global ID of a milestone to assign issue.
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.

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: ITerraformDependable[];
  • Type: cdktf.ITerraformDependable[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

projectRequired
public readonly project: string;
  • Type: string

The name or ID of the project.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#project ProjectIssue#project}


titleRequired
public readonly title: string;
  • Type: string

The title of the issue.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#title ProjectIssue#title}


assigneeIdsOptional
public readonly assigneeIds: number[];
  • Type: number[]

The IDs of the users to assign the issue to.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#assignee_ids ProjectIssue#assignee_ids}


confidentialOptional
public readonly confidential: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Set an issue to be confidential.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#confidential ProjectIssue#confidential}


createdAtOptional
public readonly createdAt: string;
  • Type: 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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#created_at ProjectIssue#created_at}


deleteOnDestroyOptional
public readonly deleteOnDestroy: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Whether the issue is deleted instead of closed during destroy.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#delete_on_destroy ProjectIssue#delete_on_destroy}


descriptionOptional
public readonly description: string;
  • Type: string

The description of an issue. Limited to 1,048,576 characters.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#description ProjectIssue#description}


discussionLockedOptional
public readonly discussionLocked: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Whether the issue is locked for discussions or not.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#discussion_locked ProjectIssue#discussion_locked}


discussionToResolveOptional
public readonly discussionToResolve: string;
  • Type: 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 merge_request_to_resolve_discussions_of.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#discussion_to_resolve ProjectIssue#discussion_to_resolve}


dueDateOptional
public readonly dueDate: string;
  • Type: string

The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#due_date ProjectIssue#due_date}


epicIssueIdOptional
public readonly epicIssueId: number;
  • Type: number

The ID of the epic issue.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#epic_issue_id ProjectIssue#epic_issue_id}


idOptional
public readonly id: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#id ProjectIssue#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


iidOptional
public readonly iid: number;
  • Type: number

The internal ID of the project's issue.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#iid ProjectIssue#iid}


issueTypeOptional
public readonly issueType: string;
  • Type: string

The type of issue. Valid values are: issue, incident, test_case.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#issue_type ProjectIssue#issue_type}


labelsOptional
public readonly labels: string[];
  • Type: string[]

The labels of an issue.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#labels ProjectIssue#labels}


mergeRequestToResolveDiscussionsOfOptional
public readonly mergeRequestToResolveDiscussionsOf: number;
  • Type: 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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#merge_request_to_resolve_discussions_of ProjectIssue#merge_request_to_resolve_discussions_of}


milestoneIdOptional
public readonly milestoneId: number;
  • Type: 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.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#milestone_id ProjectIssue#milestone_id}


stateOptional
public readonly state: string;
  • Type: string

The state of the issue. Valid values are: opened, closed.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#state ProjectIssue#state}


updatedAtOptional
public readonly updatedAt: string;
  • Type: string

When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#updated_at ProjectIssue#updated_at}


weightOptional
public readonly weight: number;
  • Type: number

The weight of the issue. Valid values are greater than or equal to 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.0.1/docs/resources/project_issue#weight ProjectIssue#weight}


ProjectIssueTaskCompletionStatus

Initializer

import { projectIssue } from '@cdktf/provider-gitlab'

const projectIssueTaskCompletionStatus: projectIssue.ProjectIssueTaskCompletionStatus = { ... }

Classes

ProjectIssueTaskCompletionStatusList

Initializers

import { projectIssue } from '@cdktf/provider-gitlab'

new projectIssue.ProjectIssueTaskCompletionStatusList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): ProjectIssueTaskCompletionStatusOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

ProjectIssueTaskCompletionStatusOutputReference

Initializers

import { projectIssue } from '@cdktf/provider-gitlab'

new projectIssue.ProjectIssueTaskCompletionStatusOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
completedCount number No description.
count number No description.
internalValue ProjectIssueTaskCompletionStatus No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

completedCountRequired
public readonly completedCount: number;
  • Type: number

countRequired
public readonly count: number;
  • Type: number

internalValueOptional
public readonly internalValue: ProjectIssueTaskCompletionStatus;