Recherches récentes


Pas de recherche récente

raven.agape's Avatar

raven.agape

Adhésion le 30 déc. 2024

·

Dernière activité le 07 janv. 2025

Suivis

0

Abonnés

0

Activité totale

2

vote

1

Abonnements

0

APERÇU DES ACTIVITÉS

Dernière activité effectuée par raven.agape

raven.agape a créé une publication,

Publication Developer - Zendesk APIs

Greetings!
I have been working to understand ZIS and implement a couple of bundles and I have a few questions I can't find any references to or the references are not working for me.

1. How can the value of a variable be exposed during debugging? I have seen references to zis:common:log but that doesn't work when I try it. Is there something that can be put in a "Type": "Succeed" or "Type": "Failed" action? Or what is the best practice here? Can you give an example? I am aware of the ZIS Playground and of the Integration Log, but often what I am trying to track is not just showing up there.

2. How can the value of a custom field be accessed, i.e. what is the syntax? I worked with a couple of references and tried this (I am working with the ticket created event):
"Parameters": {
      "expr": ".ticket.custom_fields[] | select(.id == 17336016451101) | .value ",
      "data.$": “$.input.ticket_event”
    },
but I get no value 

I have also tried variations on .ticket.custom_field:custom_field_17336016451101 or .ticket.custom_field.custom_field_17336016451101 with no luck either.

Can you provide an example of best practice here?

3. Can you give an example of how to iterate through a json response to a ticket query with multiple tickets? I have successully run queries of the form "path.$": "/api/v2/search.json?query…. but am having difficulty iterating and parsing through the returned tickets (particularly in reference to #2)

thank you for any insight and examples!




 

Publication le 30 déc. 2024 · raven.agape

0

Abonnés

2

Votes

1

Commentaire