Skip to content

Conversation

@tamccall
Copy link
Contributor

Working to fix issues with the sla policy Acc tests

@tamccall tamccall requested a review from nukosuke as a code owner April 16, 2020 04:51
active = true

all {
# TODO: this is failing on the ACC test.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nukosuke after looking into this a bit more I think the problem here is that zendesk is translating the input here:

It is taking this:

  all {
    # TODO: this is failing on the ACC test.
    field    = "type"
    operator = "is"
    value    = "incident"
  }

and turning it into something like this

  all {
    # TODO: this is failing on the ACC test.
    field    = "ticket_type_id"
    operator = "is"
    value    = 2
  }

but that said I am not exactly sure of the best way to solve this. Seems like we might have to figure out how to translate the response from zendesk back into the resource listed in the terraform file.

Curious if you have thoughts.

See: https://developer.zendesk.com/rest_api/docs/support/views#additional-sla-policies-conditions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant