opsgenie / opsgenie-go-sdk-v2

Opsgenie GO SDK v2
Apache License 2.0
34 stars 63 forks source link

Priority condition should allow the `match` operation #139

Open lawliet89 opened 11 months ago

lawliet89 commented 11 months ago

The validation for the priority field in conditions does not allow the match operation.

However, I have managed to create this via the console (at least for the ServiceNow integration):

image

The XHR from Opsgenie in the UI shows that the API has accepted this and returned the same setting back to us:

image

Relates to https://github.com/opsgenie/terraform-provider-opsgenie/issues/251

lawliet89 commented 11 months ago

Bug report created on Opsgenie Jira: https://jira.atlassian.com/browse/OPSGENIE-1686