Recent searches
No recent searches

Benjamin Lamiable
Joined Feb 07, 2023
·
Last activity Oct 23, 2024
Following
0
Followers
0
Total activity
9
Vote
1
Subscriptions
4
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Benjamin Lamiable
Benjamin Lamiable created a post,
Hello Zendesk community,
I hope you are all doing well,
I searched for articles referring to this kind of need but was unable to, so I come here hoping anyone has an idea.
We have a "Number" field on Organization, that we will call "Available Vouchers"
I'm planning to set a Field on ticket, editable by agents, the name will be "Vouchers used".
I would like to know if this is possible (and how) to automatically have this behaviour :
- Whenever an agent fills the "Vouchers Used", we would like the number set up in it to be automatically reduced from the "Available Vouchers" field.
Example :
- Organization ABC, "Available Vouchers" is equal to 10
- Ticket #12345 linked to Org ABC, my agent fills "Vouchers Used" to 3
--> I would like the Available Vouchers field to be automatically changed to 7 (10 - 3).
Is there anything I can do which would allow me to do such kind a thing ?
My main objective is to be able to pilot the number of vouchers used among tickets.
I know I could do it with "Explore", but maybe we could do it at an upper lever ?
Thanks in advance for your help everyone,
Have a great day !
Regards,
Posted Jul 25, 2023 · Benjamin Lamiable
1
Follower
2
Votes
1
Comment
Benjamin Lamiable commented,
Hi again Raphaël,
When switching to "PUT" rather than "POST" + referring a ticket.id, it works correctly, but..
The field content do not seem to absorb the variable contained into my {{ticket.organization.custom_fields.important_information}} field, it directly post "{{ticket.organization.custom_fields.important_information}}" into the ticket field, without taking the data referred into it (which is "TEST!" actually).
Same result when adding .title at the end, of course ^^
Maybe there is something wrong in my process ?
Thanks again for your help.
View comment · Posted Feb 27, 2023 · Benjamin Lamiable
0
Followers
0
Votes
0
Comments
Benjamin Lamiable commented,
Hi Raphaël,
Thanks for your feedback,
Unfortunately the result is exactly the same.
404 Not found :
{"error":"InvalidEndpoint","description":"Not found"}
Endpoint URL :
https://domain.zendesk.com/api/v2/tickets/{{ticket.id}}
Thanks in advance for your help
View comment · Posted Feb 27, 2023 · Benjamin Lamiable
0
Followers
0
Votes
0
Comments
Benjamin Lamiable created a post,
Hi everyone,
I'm trying to send Organization "multi-line" text field content into "Ticket" multi-line text field content.
I read that this was not possible with simple triggers and that I should rather use Webhooks.
The thing is, I'm only able to to make them works when I'm using "PUT" method.
With POST method, I've got the following error message :
{"error":"InvalidEndpoint","description":"Not found"}
My ENDPOINT URL is the following :
https://domain.zendesk.com/api/v2/tickets/{{ticket.id}}.json
The Request I launch is that one :
{
"ticket": {
"custom_fields": [
{
"id": 13257384091921,
"value": "{{ticket.organization.custom_fields.important_information.title}}"
}
]
}
}
Is there anything I'm not doing correctly ?
I'll take any simple method in order to be able to grab my Org custom field content and push it into my Ticket custom field.
Please note that I can have a lot of different contents into my Org Custom field.
Thanks in advance for your help
Regards
Edited Feb 24, 2023 · Benjamin Lamiable
0
Followers
1
Vote
4
Comments