ProjectIssueBoardArgs

data class ProjectIssueBoardArgs(val assigneeId: Output<Int>? = null, val labels: Output<List<String>>? = null, val lists: Output<List<ProjectIssueBoardListArgs>>? = null, val milestoneId: Output<Int>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<ProjectIssueBoardArgs>

The gitlab.ProjectIssueBoard resource allows to manage the lifecycle of a Project Issue Board.

NOTE: If the board lists are changed all lists will be recreated. Upstream API: GitLab REST API docs

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.User;
import com.pulumi.gitlab.UserArgs;
import com.pulumi.gitlab.ProjectMembership;
import com.pulumi.gitlab.ProjectMembershipArgs;
import com.pulumi.gitlab.ProjectMilestone;
import com.pulumi.gitlab.ProjectMilestoneArgs;
import com.pulumi.gitlab.ProjectIssueBoard;
import com.pulumi.gitlab.ProjectIssueBoardArgs;
import com.pulumi.gitlab.inputs.ProjectIssueBoardListArgs;
import com.pulumi.resources.CustomResourceOptions;
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 exampleProject = new Project("exampleProject", ProjectArgs.builder()
.description("Lorem Ipsum")
.visibilityLevel("public")
.build());
var exampleUser = new User("exampleUser", UserArgs.builder()
.username("example")
.email("example@example.com")
.password("example1$$$")
.build());
var exampleProjectMembership = new ProjectMembership("exampleProjectMembership", ProjectMembershipArgs.builder()
.projectId(exampleProject.id())
.userId(exampleUser.id())
.accessLevel("developer")
.build());
var exampleProjectMilestone = new ProjectMilestone("exampleProjectMilestone", ProjectMilestoneArgs.builder()
.project(exampleProject.id())
.title("m1")
.build());
var this_ = new ProjectIssueBoard("this", ProjectIssueBoardArgs.builder()
.project(exampleProject.id())
.lists(
ProjectIssueBoardListArgs.builder()
.assigneeId(exampleUser.id())
.build(),
ProjectIssueBoardListArgs.builder()
.milestoneId(exampleProjectMilestone.milestoneId())
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(exampleProjectMembership)
.build());
var listSyntax = new ProjectIssueBoard("listSyntax", ProjectIssueBoardArgs.builder()
.project(exampleProject.id())
.lists(
ProjectIssueBoardListArgs.builder()
.assigneeId(exampleUser.id())
.build(),
ProjectIssueBoardListArgs.builder()
.milestoneId(exampleProjectMilestone.milestoneId())
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(exampleProjectMembership)
.build());
}
}

Import

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

$ pulumi import gitlab:index/projectIssueBoard:ProjectIssueBoard kanban 42:1

Constructors

Link copied to clipboard
constructor(assigneeId: Output<Int>? = null, labels: Output<List<String>>? = null, lists: Output<List<ProjectIssueBoardListArgs>>? = null, milestoneId: Output<Int>? = null, name: Output<String>? = null, project: Output<String>? = null, weight: Output<Int>? = null)

Properties

Link copied to clipboard
val assigneeId: Output<Int>? = null

The assignee the board should be scoped to. Requires a GitLab EE license.

Link copied to clipboard
val labels: Output<List<String>>? = null

The list of label names which the board should be scoped to. Requires a GitLab EE license.

Link copied to clipboard
val lists: Output<List<ProjectIssueBoardListArgs>>? = null

The list of issue board lists

Link copied to clipboard
val milestoneId: Output<Int>? = null

The milestone the board should be scoped to. Requires a GitLab EE license.

Link copied to clipboard
val name: Output<String>? = null

The name of the board.

Link copied to clipboard
val project: Output<String>? = null

The ID or full path of the project maintained by the authenticated user.

Link copied to clipboard
val weight: Output<Int>? = null

The weight range from 0 to 9, to which the board should be scoped to. Requires a GitLab EE license.

Functions

Link copied to clipboard
open override fun toJava(): ProjectIssueBoardArgs