Open marcossv9 opened 1 month ago
Hi there, I would like to provide additional details regarding these Jira integrations.
As far from now, we can add 2 different Jira API integrations under Opsgenie Integrations:
Under the first option, "Jira" integration, we can select 2 different integration variants:
Likewise, under "Jira Service Management" integration, we can select 2 different integration variants:
Essentially, we have 4 different integration variants with the following type names :
{
"id":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"name":"test-jira-legacy",
"enabled":false,
"type":"Jira",
"teamId":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"version":"v2",
"advanced":true
}
{
"id":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"name":"jira-test",
"enabled":false,
"type":"jira-software-cloud",
"teamId":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"version":"v3",
"advanced":true
}
Jira Service Management
{
"id":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"name":"test-jira-service-management",
"enabled":false,
"type":"JiraServiceDesk",
"teamId":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"version":"v2",
"advanced":true
}
Jira Service Management Cloud
{
"id":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"name":"test-jira-service-management-cloud",
"enabled":true,
"type":"jira-service-management-cloud",
"teamId":"xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"version":"v3",
"advanced":true
}
According to the documentation available at https://support.atlassian.com/opsgenie/docs/integration-types-to-be-used-with-the-api/, only two distinct Jira integrations are supported, corresponding to the v2 version and not the v3.
Integration Name | Link | API TypeName |
---|---|---|
Atlassian Jira | Integrate Opsgenie with Jira | Jira |
Atlassian Jira Service Management | Integrate Opsgenie with Jira Service Management | JiraServiceDesk |
"type":"Jira"
--> Supported (v2) ✅"type":"jira-software-cloud"
--> NOT Supported (v3) 🔴"type":"JiraServiceDesk"
--> Supported (v2) ✅"type":"jira-service-management-cloud"
--> NOT Supported (v3) 🔴Are there any plans or expectations regarding when we will be able to support the v3 integrations that are not currently supported?
Hi there,
I'm trying to automate the creation of the jira cloud bidirectional integration with opsgenie using the terraform provider and couldn't find the right opsgenie api integration type for it. This list only mention the
Jira
integration that references the legacy product and not Jira Cloud. Clearly, the documentation is outdated and not reflecting the actual behavior of the opsgenie api, that seems to be using thejira-software-cloud
value for integration type, but that doesn't work.Terraform Version
Terraform v1.5.5 on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
the opsgenie api integration for jira cloud is created correctly.
Actual Behavior
an error mentioned above. it works fine when I use
Jira
as the type, but that creates an integration for the Legacy Jira app.Steps to Reproduce
terraform apply