Recent searches
No recent searches

raven.agape
Joined Dec 30, 2024
·
Last activity Jan 07, 2025
Following
0
Followers
0
Total activity
2
Vote
1
Subscriptions
0
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by raven.agape
raven.agape created a post,
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!
Posted Dec 30, 2024 · raven.agape
0
Followers
2
Votes
1
Comment