최근 검색


최근 검색 없음

raven.agape's Avatar

raven.agape

가입한 날짜: 2024년 12월 30일

·

마지막 활동: 2025년 1월 07일

팔로잉

0

팔로워

0

총 활동 수

2

투표

1

플랜 수

0

활동 개요

님의 최근 활동 raven.agape

raven.agape님이 에 게시물을 만듦

게시물 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!




 

2024년 12월 30일에 게시됨 · raven.agape

0

팔로워

2

투표 수

1

댓글