IntegrationCustomIssueTracker

class IntegrationCustomIssueTracker : KotlinCustomResource

The gitlab.IntegrationCustomIssueTracker resource allows to manage the lifecycle of a project integration with Custom Issue Tracker. Upstream API: GitLab REST API docs

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const awesomeProject = new gitlab.Project("awesomeProject", {
description: "My awesome project.",
visibilityLevel: "public",
});
const tracker = new gitlab.IntegrationCustomIssueTracker("tracker", {
project: awesomeProject.id,
projectUrl: "https://customtracker.com/issues",
issuesUrl: "https://customtracker.com/TEST-:id",
});
import pulumi
import pulumi_gitlab as gitlab
awesome_project = gitlab.Project("awesomeProject",
description="My awesome project.",
visibility_level="public")
tracker = gitlab.IntegrationCustomIssueTracker("tracker",
project=awesome_project.id,
project_url="https://customtracker.com/issues",
issues_url="https://customtracker.com/TEST-:id")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var awesomeProject = new GitLab.Project("awesomeProject", new()
{
Description = "My awesome project.",
VisibilityLevel = "public",
});
var tracker = new GitLab.IntegrationCustomIssueTracker("tracker", new()
{
Project = awesomeProject.Id,
ProjectUrl = "https://customtracker.com/issues",
IssuesUrl = "https://customtracker.com/TEST-:id",
});
});
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v6/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
awesomeProject, err := gitlab.NewProject(ctx, "awesomeProject", &gitlab.ProjectArgs{
Description: pulumi.String("My awesome project."),
VisibilityLevel: pulumi.String("public"),
})
if err != nil {
return err
}
_, err = gitlab.NewIntegrationCustomIssueTracker(ctx, "tracker", &gitlab.IntegrationCustomIssueTrackerArgs{
Project: awesomeProject.ID(),
ProjectUrl: pulumi.String("https://customtracker.com/issues"),
IssuesUrl: pulumi.String("https://customtracker.com/TEST-:id"),
})
if err != nil {
return err
}
return nil
})
}
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.IntegrationCustomIssueTracker;
import com.pulumi.gitlab.IntegrationCustomIssueTrackerArgs;
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 awesomeProject = new Project("awesomeProject", ProjectArgs.builder()
.description("My awesome project.")
.visibilityLevel("public")
.build());
var tracker = new IntegrationCustomIssueTracker("tracker", IntegrationCustomIssueTrackerArgs.builder()
.project(awesomeProject.id())
.projectUrl("https://customtracker.com/issues")
.issuesUrl("https://customtracker.com/TEST-:id")
.build());
}
}
resources:
awesomeProject:
type: gitlab:Project
properties:
description: My awesome project.
visibilityLevel: public
tracker:
type: gitlab:IntegrationCustomIssueTracker
properties:
project: ${awesomeProject.id}
projectUrl: https://customtracker.com/issues
issuesUrl: https://customtracker.com/TEST-:id

Import

You can import a gitlab_integration_custom_issue_tracker state using the project ID, e.g.

$ pulumi import gitlab:index/integrationCustomIssueTracker:IntegrationCustomIssueTracker tracker 1

Properties

Link copied to clipboard
val active: Output<Boolean>

Whether the integration is active.

Link copied to clipboard
val createdAt: Output<String>

The ISO8601 date/time that this integration was activated at in UTC.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val issuesUrl: Output<String>

The URL to view an issue in the external issue tracker. Must contain :id.

Link copied to clipboard
val project: Output<String>

The ID or full path of the project for the custom issue tracker.

Link copied to clipboard
val projectUrl: Output<String>

The URL to the project in the external issue tracker.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val slug: Output<String>

The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.

Link copied to clipboard
val updatedAt: Output<String>

The ISO8601 date/time that this integration was last updated at in UTC.

Link copied to clipboard
val urn: Output<String>