gitlab_service_jira (Resource)

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

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_project" "awesome_project" {
  name             = "awesome_project"
  description      = "My awesome project."
  visibility_level = "public"
}

resource "gitlab_service_jira" "jira" {
  project  = gitlab_project.awesome_project.id
  url      = "https://jira.example.com"
  username = "user"
  password = "mypass"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# You can import a gitlab_service_jira state using the project ID, e.g.
terraform import gitlab_service_jira.jira 1