Show / Hide Table of Contents

Class ServiceJira

This resource allows you to manage Jira integration.

Example Usage

using Pulumi;
using GitLab = Pulumi.GitLab;

class MyStack : Stack
{
public MyStack()
{
    var awesomeProject = new GitLab.Project("awesomeProject", new GitLab.ProjectArgs
    {
        Description = "My awesome project.",
        VisibilityLevel = "public",
    });
    var jira = new GitLab.ServiceJira("jira", new GitLab.ServiceJiraArgs
    {
        Password = "mypass",
        Project = awesomeProject.Id,
        Url = "https://jira.example.com",
        Username = "user",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ServiceJira
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public class ServiceJira : CustomResource

Constructors

View Source

ServiceJira(String, ServiceJiraArgs, CustomResourceOptions)

Create a ServiceJira resource with the given unique name, arguments, and options.

Declaration
public ServiceJira(string name, ServiceJiraArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ServiceJiraArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Active

Declaration
public Output<bool> Active { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

CommentOnEventEnabled

Enable comments inside Jira issues on each GitLab event (commit / merge request)

Declaration
public Output<bool> CommentOnEventEnabled { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

CommitEvents

Enable notifications for commit events

Declaration
public Output<bool> CommitEvents { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

CreatedAt

Declaration
public Output<string> CreatedAt { get; }
Property Value
Type Description
Output<System.String>
View Source

JiraIssueTransitionId

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.

Declaration
public Output<string> JiraIssueTransitionId { get; }
Property Value
Type Description
Output<System.String>
View Source

MergeRequestsEvents

Enable notifications for merge request events

Declaration
public Output<bool> MergeRequestsEvents { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

Password

The password of the user created to be used with GitLab/JIRA.

Declaration
public Output<string> Password { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

ID of the project you want to activate integration on.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

ProjectKey

The short identifier for your JIRA project, all uppercase, e.g., PROJ.

Declaration
public Output<string> ProjectKey { get; }
Property Value
Type Description
Output<System.String>
View Source

Title

Declaration
public Output<string> Title { get; }
Property Value
Type Description
Output<System.String>
View Source

UpdatedAt

Declaration
public Output<string> UpdatedAt { get; }
Property Value
Type Description
Output<System.String>
View Source

Url

The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.

Declaration
public Output<string> Url { get; }
Property Value
Type Description
Output<System.String>
View Source

Username

The username of the user created to be used with GitLab/JIRA.

Declaration
public Output<string> Username { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ServiceJiraState, CustomResourceOptions)

Get an existing ServiceJira resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ServiceJira Get(string name, Input<string> id, ServiceJiraState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ServiceJiraState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ServiceJira
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.