Integration Jira Args
data class IntegrationJiraArgs(val apiUrl: Output<String>? = null, val commentOnEventEnabled: Output<Boolean>? = null, val commitEvents: Output<Boolean>? = null, val issuesEvents: Output<Boolean>? = null, val jiraIssueTransitionId: Output<String>? = null, val jobEvents: Output<Boolean>? = null, val mergeRequestsEvents: Output<Boolean>? = null, val noteEvents: Output<Boolean>? = null, val password: Output<String>? = null, val pipelineEvents: Output<Boolean>? = null, val project: Output<String>? = null, val projectKey: Output<String>? = null, val pushEvents: Output<Boolean>? = null, val tagPushEvents: Output<Boolean>? = null, val url: Output<String>? = null, val username: Output<String>? = null) : ConvertibleToJava<IntegrationJiraArgs>
The gitlab.IntegrationJira
resource allows to manage the lifecycle of a project integration with Jira. 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.IntegrationJira;
import com.pulumi.gitlab.IntegrationJiraArgs;
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 jira = new IntegrationJira("jira", IntegrationJiraArgs.builder()
.project(awesomeProject.id())
.url("https://jira.example.com")
.username("user")
.password("mypass")
.build());
}
}
Content copied to clipboard
Import
You can import a gitlab_integration_jira state using the project ID, e.g.
$ pulumi import gitlab:index/integrationJira:IntegrationJira jira 1
Content copied to clipboard
Constructors
Link copied to clipboard
fun IntegrationJiraArgs(apiUrl: Output<String>? = null, commentOnEventEnabled: Output<Boolean>? = null, commitEvents: Output<Boolean>? = null, issuesEvents: Output<Boolean>? = null, jiraIssueTransitionId: Output<String>? = null, jobEvents: Output<Boolean>? = null, mergeRequestsEvents: Output<Boolean>? = null, noteEvents: Output<Boolean>? = null, password: Output<String>? = null, pipelineEvents: Output<Boolean>? = null, project: Output<String>? = null, projectKey: Output<String>? = null, pushEvents: Output<Boolean>? = null, tagPushEvents: Output<Boolean>? = null, url: Output<String>? = null, username: Output<String>? = null)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration Issues Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2. Note*: importing this field is only supported since GitLab 15.2.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard