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",
        });
    }

}

Coming soon!

import pulumi
import pulumi_gitlab as gitlab

awesome_project = gitlab.Project("awesomeProject",
    description="My awesome project.",
    visibility_level="public")
jira = gitlab.ServiceJira("jira",
    password="mypass",
    project=awesome_project.id,
    url="https://jira.example.com",
    username="user")
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";

const awesomeProject = new gitlab.Project("awesome_project", {
    description: "My awesome project.",
    visibilityLevel: "public",
});
const jira = new gitlab.ServiceJira("jira", {
    password: "mypass",
    project: awesomeProject.id,
    url: "https://jira.example.com",
    username: "user",
});

Create a ServiceJira Resource

def ServiceJira(resource_name, opts=None, comment_on_event_enabled=None, commit_events=None, jira_issue_transition_id=None, merge_requests_events=None, password=None, project=None, project_key=None, url=None, username=None, __props__=None);
func NewServiceJira(ctx *Context, name string, args ServiceJiraArgs, opts ...ResourceOption) (*ServiceJira, error)
public ServiceJira(string name, ServiceJiraArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ServiceJiraArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ServiceJiraArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServiceJiraArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ServiceJira Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ServiceJira resource accepts the following input properties:

Password string

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

Project string

ID of the project you want to activate integration on.

Url string

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

Username string

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

CommentOnEventEnabled bool

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

CommitEvents bool

Enable notifications for commit events

JiraIssueTransitionId string

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.

MergeRequestsEvents bool

Enable notifications for merge request events

ProjectKey string

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

Password string

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

Project string

ID of the project you want to activate integration on.

Url string

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

Username string

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

CommentOnEventEnabled bool

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

CommitEvents bool

Enable notifications for commit events

JiraIssueTransitionId string

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.

MergeRequestsEvents bool

Enable notifications for merge request events

ProjectKey string

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

password string

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

project string

ID of the project you want to activate integration on.

url string

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

username string

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

commentOnEventEnabled boolean

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

commitEvents boolean

Enable notifications for commit events

jiraIssueTransitionId string

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.

mergeRequestsEvents boolean

Enable notifications for merge request events

projectKey string

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

password str

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

project str

ID of the project you want to activate integration on.

url str

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

username str

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

comment_on_event_enabled bool

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

commit_events bool

Enable notifications for commit events

jira_issue_transition_id str

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.

merge_requests_events bool

Enable notifications for merge request events

project_key str

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

Outputs

All input properties are implicitly available as output properties. Additionally, the ServiceJira resource produces the following output properties:

Active bool
CreatedAt string
Id string
The provider-assigned unique ID for this managed resource.
Title string
UpdatedAt string
Active bool
CreatedAt string
Id string
The provider-assigned unique ID for this managed resource.
Title string
UpdatedAt string
active boolean
createdAt string
id string
The provider-assigned unique ID for this managed resource.
title string
updatedAt string
active bool
created_at str
id str
The provider-assigned unique ID for this managed resource.
title str
updated_at str

Look up an Existing ServiceJira Resource

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

public static get(name: string, id: Input<ID>, state?: ServiceJiraState, opts?: CustomResourceOptions): ServiceJira
static get(resource_name, id, opts=None, active=None, comment_on_event_enabled=None, commit_events=None, created_at=None, jira_issue_transition_id=None, merge_requests_events=None, password=None, project=None, project_key=None, title=None, updated_at=None, url=None, username=None, __props__=None);
func GetServiceJira(ctx *Context, name string, id IDInput, state *ServiceJiraState, opts ...ResourceOption) (*ServiceJira, error)
public static ServiceJira Get(string name, Input<string> id, ServiceJiraState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Active bool
CommentOnEventEnabled bool

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

CommitEvents bool

Enable notifications for commit events

CreatedAt string
JiraIssueTransitionId string

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.

MergeRequestsEvents bool

Enable notifications for merge request events

Password string

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

Project string

ID of the project you want to activate integration on.

ProjectKey string

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

Title string
UpdatedAt string
Url string

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

Username string

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

Active bool
CommentOnEventEnabled bool

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

CommitEvents bool

Enable notifications for commit events

CreatedAt string
JiraIssueTransitionId string

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.

MergeRequestsEvents bool

Enable notifications for merge request events

Password string

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

Project string

ID of the project you want to activate integration on.

ProjectKey string

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

Title string
UpdatedAt string
Url string

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

Username string

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

active boolean
commentOnEventEnabled boolean

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

commitEvents boolean

Enable notifications for commit events

createdAt string
jiraIssueTransitionId string

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.

mergeRequestsEvents boolean

Enable notifications for merge request events

password string

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

project string

ID of the project you want to activate integration on.

projectKey string

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

title string
updatedAt string
url string

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

username string

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

active bool
comment_on_event_enabled bool

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

commit_events bool

Enable notifications for commit events

created_at str
jira_issue_transition_id str

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.

merge_requests_events bool

Enable notifications for merge request events

password str

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

project str

ID of the project you want to activate integration on.

project_key str

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

title str
updated_at str
url str

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

username str

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

Package Details

Repository
https://github.com/pulumi/pulumi-gitlab
License
Apache-2.0
Notes
This Pulumi package is based on the gitlab Terraform Provider.