Project Issue Args
data class ProjectIssueArgs(val assigneeIds: Output<List<Int>>? = null, val confidential: Output<Boolean>? = null, val createdAt: Output<String>? = null, val deleteOnDestroy: Output<Boolean>? = null, val description: Output<String>? = null, val discussionLocked: Output<Boolean>? = null, val discussionToResolve: Output<String>? = null, val dueDate: Output<String>? = null, val epicIssueId: Output<Int>? = null, val iid: Output<Int>? = null, val issueType: Output<String>? = null, val labels: Output<List<String>>? = null, val mergeRequestToResolveDiscussionsOf: Output<Int>? = null, val milestoneId: Output<Int>? = null, val project: Output<String>? = null, val state: Output<String>? = null, val title: Output<String>? = null, val updatedAt: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<ProjectIssueArgs>
Example Usage
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()
.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", data.gitlab_project_issue().web_url());
}
}
Content copied to clipboard
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
Content copied to clipboard
Constructors
Link copied to clipboard
fun ProjectIssueArgs(assigneeIds: Output<List<Int>>? = null, confidential: Output<Boolean>? = null, createdAt: Output<String>? = null, deleteOnDestroy: Output<Boolean>? = null, description: Output<String>? = null, discussionLocked: Output<Boolean>? = null, discussionToResolve: Output<String>? = null, dueDate: Output<String>? = null, epicIssueId: Output<Int>? = null, iid: Output<Int>? = null, issueType: Output<String>? = null, labels: Output<List<String>>? = null, mergeRequestToResolveDiscussionsOf: Output<Int>? = null, milestoneId: Output<Int>? = null, project: Output<String>? = null, state: Output<String>? = null, title: Output<String>? = null, updatedAt: Output<String>? = null, weight: Output<Int>? = null)