jira

The jira connection can be used to access Jira resources.

connection "jira" "jira_connection" {
api_token = "ATATT3S........................."
base_url = "https://test.atlassian.net/"
username = "test@abbb.com"
}

Arguments

NameTypeRequired?Description
api_tokenStringOptionalAPI access token
base_urlStringOptionalThe Base Url of your Jira API instance
usernameStringOptionalThe user name to access the Jira cloud instance

All arguments are optional, and a jira connection with no arguments will behave the same as the default connection.

Default Connection

The jira connection type includes an implicit, default connection (connection.jira.default) that will be configured using the environment variables JIRA_API_TOKEN (or JIRA_TOKEN), JIRA_URL, and JIRA_USER.

connection "jira" "default" {
api_token = env("JIRA_API_TOKEN")
base_url = env("JIRA_URL")
username = env("JIRA_USER")
}