1. Packages
  2. GitLab
  3. API Docs
  4. ServiceJira
GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi

gitlab.ServiceJira

Explore with Pulumi AI

gitlab logo
GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi

    The gitlab.ServiceJira resource allows to manage the lifecycle of a project integration with Jira.

    This resource is deprecated. use gitlab.IntegrationJirainstead!

    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("awesome_project", {
        name: "awesome_project",
        description: "My awesome project.",
        visibilityLevel: "public",
    });
    const jira = new gitlab.ServiceJira("jira", {
        project: awesomeProject.id,
        url: "https://jira.example.com",
        username: "user",
        password: "mypass",
    });
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    awesome_project = gitlab.Project("awesome_project",
        name="awesome_project",
        description="My awesome project.",
        visibility_level="public")
    jira = gitlab.ServiceJira("jira",
        project=awesome_project.id,
        url="https://jira.example.com",
        username="user",
        password="mypass")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gitlab/sdk/v8/go/gitlab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		awesomeProject, err := gitlab.NewProject(ctx, "awesome_project", &gitlab.ProjectArgs{
    			Name:            pulumi.String("awesome_project"),
    			Description:     pulumi.String("My awesome project."),
    			VisibilityLevel: pulumi.String("public"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = gitlab.NewServiceJira(ctx, "jira", &gitlab.ServiceJiraArgs{
    			Project:  awesomeProject.ID(),
    			Url:      pulumi.String("https://jira.example.com"),
    			Username: pulumi.String("user"),
    			Password: pulumi.String("mypass"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using GitLab = Pulumi.GitLab;
    
    return await Deployment.RunAsync(() => 
    {
        var awesomeProject = new GitLab.Project("awesome_project", new()
        {
            Name = "awesome_project",
            Description = "My awesome project.",
            VisibilityLevel = "public",
        });
    
        var jira = new GitLab.ServiceJira("jira", new()
        {
            Project = awesomeProject.Id,
            Url = "https://jira.example.com",
            Username = "user",
            Password = "mypass",
        });
    
    });
    
    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.ServiceJira;
    import com.pulumi.gitlab.ServiceJiraArgs;
    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()
                .name("awesome_project")
                .description("My awesome project.")
                .visibilityLevel("public")
                .build());
    
            var jira = new ServiceJira("jira", ServiceJiraArgs.builder()
                .project(awesomeProject.id())
                .url("https://jira.example.com")
                .username("user")
                .password("mypass")
                .build());
    
        }
    }
    
    resources:
      awesomeProject:
        type: gitlab:Project
        name: awesome_project
        properties:
          name: awesome_project
          description: My awesome project.
          visibilityLevel: public
      jira:
        type: gitlab:ServiceJira
        properties:
          project: ${awesomeProject.id}
          url: https://jira.example.com
          username: user
          password: mypass
    

    Create ServiceJira Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceJira(name: string, args: ServiceJiraArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceJira(resource_name: str,
                    args: ServiceJiraArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceJira(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    password: Optional[str] = None,
                    username: Optional[str] = None,
                    url: Optional[str] = None,
                    project: Optional[str] = None,
                    jira_issue_transition_id: Optional[str] = None,
                    job_events: Optional[bool] = None,
                    merge_requests_events: Optional[bool] = None,
                    note_events: Optional[bool] = None,
                    api_url: Optional[str] = None,
                    pipeline_events: Optional[bool] = None,
                    issues_events: Optional[bool] = None,
                    project_key: Optional[str] = None,
                    push_events: Optional[bool] = None,
                    tag_push_events: Optional[bool] = None,
                    commit_events: Optional[bool] = None,
                    comment_on_event_enabled: Optional[bool] = None)
    func NewServiceJira(ctx *Context, name string, args ServiceJiraArgs, opts ...ResourceOption) (*ServiceJira, error)
    public ServiceJira(string name, ServiceJiraArgs args, CustomResourceOptions? opts = null)
    public ServiceJira(String name, ServiceJiraArgs args)
    public ServiceJira(String name, ServiceJiraArgs args, CustomResourceOptions options)
    
    type: gitlab:ServiceJira
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    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.
    args ServiceJiraArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control 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.
    name String
    The unique name of the resource.
    args ServiceJiraArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var serviceJiraResource = new GitLab.ServiceJira("serviceJiraResource", new()
    {
        Password = "string",
        Username = "string",
        Url = "string",
        Project = "string",
        JiraIssueTransitionId = "string",
        JobEvents = false,
        MergeRequestsEvents = false,
        NoteEvents = false,
        ApiUrl = "string",
        PipelineEvents = false,
        IssuesEvents = false,
        ProjectKey = "string",
        PushEvents = false,
        TagPushEvents = false,
        CommitEvents = false,
        CommentOnEventEnabled = false,
    });
    
    example, err := gitlab.NewServiceJira(ctx, "serviceJiraResource", &gitlab.ServiceJiraArgs{
    	Password:              pulumi.String("string"),
    	Username:              pulumi.String("string"),
    	Url:                   pulumi.String("string"),
    	Project:               pulumi.String("string"),
    	JiraIssueTransitionId: pulumi.String("string"),
    	JobEvents:             pulumi.Bool(false),
    	MergeRequestsEvents:   pulumi.Bool(false),
    	NoteEvents:            pulumi.Bool(false),
    	ApiUrl:                pulumi.String("string"),
    	PipelineEvents:        pulumi.Bool(false),
    	IssuesEvents:          pulumi.Bool(false),
    	ProjectKey:            pulumi.String("string"),
    	PushEvents:            pulumi.Bool(false),
    	TagPushEvents:         pulumi.Bool(false),
    	CommitEvents:          pulumi.Bool(false),
    	CommentOnEventEnabled: pulumi.Bool(false),
    })
    
    var serviceJiraResource = new ServiceJira("serviceJiraResource", ServiceJiraArgs.builder()
        .password("string")
        .username("string")
        .url("string")
        .project("string")
        .jiraIssueTransitionId("string")
        .jobEvents(false)
        .mergeRequestsEvents(false)
        .noteEvents(false)
        .apiUrl("string")
        .pipelineEvents(false)
        .issuesEvents(false)
        .projectKey("string")
        .pushEvents(false)
        .tagPushEvents(false)
        .commitEvents(false)
        .commentOnEventEnabled(false)
        .build());
    
    service_jira_resource = gitlab.ServiceJira("serviceJiraResource",
        password="string",
        username="string",
        url="string",
        project="string",
        jira_issue_transition_id="string",
        job_events=False,
        merge_requests_events=False,
        note_events=False,
        api_url="string",
        pipeline_events=False,
        issues_events=False,
        project_key="string",
        push_events=False,
        tag_push_events=False,
        commit_events=False,
        comment_on_event_enabled=False)
    
    const serviceJiraResource = new gitlab.ServiceJira("serviceJiraResource", {
        password: "string",
        username: "string",
        url: "string",
        project: "string",
        jiraIssueTransitionId: "string",
        jobEvents: false,
        mergeRequestsEvents: false,
        noteEvents: false,
        apiUrl: "string",
        pipelineEvents: false,
        issuesEvents: false,
        projectKey: "string",
        pushEvents: false,
        tagPushEvents: false,
        commitEvents: false,
        commentOnEventEnabled: false,
    });
    
    type: gitlab:ServiceJira
    properties:
        apiUrl: string
        commentOnEventEnabled: false
        commitEvents: false
        issuesEvents: false
        jiraIssueTransitionId: string
        jobEvents: false
        mergeRequestsEvents: false
        noteEvents: false
        password: string
        pipelineEvents: false
        project: string
        projectKey: string
        pushEvents: false
        tagPushEvents: false
        url: string
        username: string
    

    ServiceJira Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts 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.
    ApiUrl string
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    CommentOnEventEnabled bool
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    CommitEvents bool
    Enable notifications for commit events
    IssuesEvents bool
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    JobEvents bool
    Enable notifications for job events.
    MergeRequestsEvents bool
    Enable notifications for merge request events
    NoteEvents bool
    Enable notifications for note events.
    PipelineEvents bool
    Enable notifications for pipeline events.
    ProjectKey string
    The short identifier for your JIRA project, all uppercase, e.g., PROJ.
    PushEvents bool
    Enable notifications for push events.
    TagPushEvents bool
    Enable notifications for tag_push 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.
    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.
    ApiUrl string
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    CommentOnEventEnabled bool
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    CommitEvents bool
    Enable notifications for commit events
    IssuesEvents bool
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    JobEvents bool
    Enable notifications for job events.
    MergeRequestsEvents bool
    Enable notifications for merge request events
    NoteEvents bool
    Enable notifications for note events.
    PipelineEvents bool
    Enable notifications for pipeline events.
    ProjectKey string
    The short identifier for your JIRA project, all uppercase, e.g., PROJ.
    PushEvents bool
    Enable notifications for push events.
    TagPushEvents bool
    Enable notifications for tag_push 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.
    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.
    apiUrl String
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    commentOnEventEnabled Boolean
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    commitEvents Boolean
    Enable notifications for commit events
    issuesEvents Boolean
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    jobEvents Boolean
    Enable notifications for job events.
    mergeRequestsEvents Boolean
    Enable notifications for merge request events
    noteEvents Boolean
    Enable notifications for note events.
    pipelineEvents Boolean
    Enable notifications for pipeline events.
    projectKey String
    The short identifier for your JIRA project, all uppercase, e.g., PROJ.
    pushEvents Boolean
    Enable notifications for push events.
    tagPushEvents Boolean
    Enable notifications for tag_push 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.
    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.
    apiUrl string
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    commentOnEventEnabled boolean
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    commitEvents boolean
    Enable notifications for commit events
    issuesEvents boolean
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    jobEvents boolean
    Enable notifications for job events.
    mergeRequestsEvents boolean
    Enable notifications for merge request events
    noteEvents boolean
    Enable notifications for note events.
    pipelineEvents boolean
    Enable notifications for pipeline events.
    projectKey string
    The short identifier for your JIRA project, all uppercase, e.g., PROJ.
    pushEvents boolean
    Enable notifications for push events.
    tagPushEvents boolean
    Enable notifications for tag_push 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.
    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.
    api_url str
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    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
    issues_events bool
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    job_events bool
    Enable notifications for job events.
    merge_requests_events bool
    Enable notifications for merge request events
    note_events bool
    Enable notifications for note events.
    pipeline_events bool
    Enable notifications for pipeline events.
    project_key str
    The short identifier for your JIRA project, all uppercase, e.g., PROJ.
    push_events bool
    Enable notifications for push events.
    tag_push_events bool
    Enable notifications for tag_push 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.
    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.
    apiUrl String
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    commentOnEventEnabled Boolean
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    commitEvents Boolean
    Enable notifications for commit events
    issuesEvents Boolean
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    jobEvents Boolean
    Enable notifications for job events.
    mergeRequestsEvents Boolean
    Enable notifications for merge request events
    noteEvents Boolean
    Enable notifications for note events.
    pipelineEvents Boolean
    Enable notifications for pipeline events.
    projectKey String
    The short identifier for your JIRA project, all uppercase, e.g., PROJ.
    pushEvents Boolean
    Enable notifications for push events.
    tagPushEvents Boolean
    Enable notifications for tag_push events.

    Outputs

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

    Active bool
    Whether the integration is active.
    CreatedAt string
    Create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Title string
    Title.
    UpdatedAt string
    Update time.
    Active bool
    Whether the integration is active.
    CreatedAt string
    Create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Title string
    Title.
    UpdatedAt string
    Update time.
    active Boolean
    Whether the integration is active.
    createdAt String
    Create time.
    id String
    The provider-assigned unique ID for this managed resource.
    title String
    Title.
    updatedAt String
    Update time.
    active boolean
    Whether the integration is active.
    createdAt string
    Create time.
    id string
    The provider-assigned unique ID for this managed resource.
    title string
    Title.
    updatedAt string
    Update time.
    active bool
    Whether the integration is active.
    created_at str
    Create time.
    id str
    The provider-assigned unique ID for this managed resource.
    title str
    Title.
    updated_at str
    Update time.
    active Boolean
    Whether the integration is active.
    createdAt String
    Create time.
    id String
    The provider-assigned unique ID for this managed resource.
    title String
    Title.
    updatedAt String
    Update time.

    Look up 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
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            api_url: Optional[str] = None,
            comment_on_event_enabled: Optional[bool] = None,
            commit_events: Optional[bool] = None,
            created_at: Optional[str] = None,
            issues_events: Optional[bool] = None,
            jira_issue_transition_id: Optional[str] = None,
            job_events: Optional[bool] = None,
            merge_requests_events: Optional[bool] = None,
            note_events: Optional[bool] = None,
            password: Optional[str] = None,
            pipeline_events: Optional[bool] = None,
            project: Optional[str] = None,
            project_key: Optional[str] = None,
            push_events: Optional[bool] = None,
            tag_push_events: Optional[bool] = None,
            title: Optional[str] = None,
            updated_at: Optional[str] = None,
            url: Optional[str] = None,
            username: Optional[str] = None) -> ServiceJira
    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)
    public static ServiceJira get(String name, Output<String> id, ServiceJiraState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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
    Whether the integration is active.
    ApiUrl string
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    CommentOnEventEnabled bool
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    CommitEvents bool
    Enable notifications for commit events
    CreatedAt string
    Create time.
    IssuesEvents bool
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    JobEvents bool
    Enable notifications for job events.
    MergeRequestsEvents bool
    Enable notifications for merge request events
    NoteEvents bool
    Enable notifications for note events.
    Password string
    The password of the user created to be used with GitLab/JIRA.
    PipelineEvents bool
    Enable notifications for pipeline events.
    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.
    PushEvents bool
    Enable notifications for push events.
    TagPushEvents bool
    Enable notifications for tag_push events.
    Title string
    Title.
    UpdatedAt string
    Update time.
    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
    Whether the integration is active.
    ApiUrl string
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    CommentOnEventEnabled bool
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    CommitEvents bool
    Enable notifications for commit events
    CreatedAt string
    Create time.
    IssuesEvents bool
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    JobEvents bool
    Enable notifications for job events.
    MergeRequestsEvents bool
    Enable notifications for merge request events
    NoteEvents bool
    Enable notifications for note events.
    Password string
    The password of the user created to be used with GitLab/JIRA.
    PipelineEvents bool
    Enable notifications for pipeline events.
    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.
    PushEvents bool
    Enable notifications for push events.
    TagPushEvents bool
    Enable notifications for tag_push events.
    Title string
    Title.
    UpdatedAt string
    Update time.
    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
    Whether the integration is active.
    apiUrl String
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    commentOnEventEnabled Boolean
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    commitEvents Boolean
    Enable notifications for commit events
    createdAt String
    Create time.
    issuesEvents Boolean
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    jobEvents Boolean
    Enable notifications for job events.
    mergeRequestsEvents Boolean
    Enable notifications for merge request events
    noteEvents Boolean
    Enable notifications for note events.
    password String
    The password of the user created to be used with GitLab/JIRA.
    pipelineEvents Boolean
    Enable notifications for pipeline events.
    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.
    pushEvents Boolean
    Enable notifications for push events.
    tagPushEvents Boolean
    Enable notifications for tag_push events.
    title String
    Title.
    updatedAt String
    Update time.
    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
    Whether the integration is active.
    apiUrl string
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    commentOnEventEnabled boolean
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    commitEvents boolean
    Enable notifications for commit events
    createdAt string
    Create time.
    issuesEvents boolean
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    jobEvents boolean
    Enable notifications for job events.
    mergeRequestsEvents boolean
    Enable notifications for merge request events
    noteEvents boolean
    Enable notifications for note events.
    password string
    The password of the user created to be used with GitLab/JIRA.
    pipelineEvents boolean
    Enable notifications for pipeline events.
    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.
    pushEvents boolean
    Enable notifications for push events.
    tagPushEvents boolean
    Enable notifications for tag_push events.
    title string
    Title.
    updatedAt string
    Update time.
    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
    Whether the integration is active.
    api_url str
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    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
    Create time.
    issues_events bool
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    job_events bool
    Enable notifications for job events.
    merge_requests_events bool
    Enable notifications for merge request events
    note_events bool
    Enable notifications for note events.
    password str
    The password of the user created to be used with GitLab/JIRA.
    pipeline_events bool
    Enable notifications for pipeline events.
    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.
    push_events bool
    Enable notifications for push events.
    tag_push_events bool
    Enable notifications for tag_push events.
    title str
    Title.
    updated_at str
    Update time.
    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.
    active Boolean
    Whether the integration is active.
    apiUrl String
    The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
    commentOnEventEnabled Boolean
    Enable comments inside Jira issues on each GitLab event (commit / merge request)
    commitEvents Boolean
    Enable notifications for commit events
    createdAt String
    Create time.
    issuesEvents Boolean
    Enable notifications for issues 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. Note*: importing this field is only supported since GitLab 15.2.
    jobEvents Boolean
    Enable notifications for job events.
    mergeRequestsEvents Boolean
    Enable notifications for merge request events
    noteEvents Boolean
    Enable notifications for note events.
    password String
    The password of the user created to be used with GitLab/JIRA.
    pipelineEvents Boolean
    Enable notifications for pipeline events.
    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.
    pushEvents Boolean
    Enable notifications for push events.
    tagPushEvents Boolean
    Enable notifications for tag_push events.
    title String
    Title.
    updatedAt String
    Update time.
    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.

    Import

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

    $ pulumi import gitlab:index/serviceJira:ServiceJira jira 1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi