Recent searches
No recent searches

Vinicius
Joined Jan 11, 2023
·
Last activity May 10, 2024
Following
0
Followers
0
Total activity
18
Votes
3
Subscriptions
4
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Vinicius
Vinicius commented,
Greg Katechis nice catch, it worked here!
View comment · Posted May 10, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius commented,
Greg Katechis, I did the test again, and still the same problem.
Request to my jwt server:
I'm receiving the token:
Login process:
Creating ticket:
User profile:
Empty email.
View comment · Posted May 08, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius commented,
Greg Katechis, I can authenticate my end-users on messaging chat (I noticed they don't need to fill the email input when they are authenticated), but they don't have email when ticket is created.
The contact is empty.
View comment · Posted May 08, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius commented,
Greg Katechis any news?
View comment · Posted May 08, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius commented,
tks Florian Nowak-Klos, you helped me a lot!
View comment · Posted Apr 10, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius commented,
Tipene Hughes, with the same dates it works (same if you use ":"), try to change your custom field date to 2024-03-20 and 2024-03-24, and do a request again, it won't work, even though the dates are in between those two of URL.
View comment · Posted Mar 15, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius commented,
Yes, I'm!
My ticket has this following object:
"custom_fields": [
{"id": 16896502734363,"value": "2024-04-17"},
{"id": 16896528598683,"value": "2024-04-15"}
]
And when I select dates where it can conflict, and try to search, it's not possible:
https://domain.zendesk.com/api/v2/search.json?query=type:ticket custom_field_16896528598683>=2024-04-16 custom_field_16896502734363<=2024-04-22
Or even when I try to intercept them:
https://domain.zendesk.com/api/v2/search.json?query=type:ticket custom_field_16896528598683>=2024-04-16 custom_field_16896528598683<=2024-04-22 custom_field_16896502734363<=2024-04-22 custom_field_16896502734363>=2024-04-16
Could you share your success test, please?
View comment · Posted Mar 14, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius commented,
Tipene Hughes, idk if I was clear enough.
Actually, I have a modal with a date selector, and after select those dates (the start date and the end date), I want to search if I have a ticket in conflict if these dates.
Example: Select 04/21 and 07/21, I want to see if I have a ticket with the same date in their custom fields using that URL I've sent.
The URL is not working, because I don't know if it's possible to search custom fields date with <= or >=, that was my question.
I already could solve the problem using tags and other custom fields. Tks!
View comment · Posted Mar 14, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius commented,
Tipene Hughes, no, it's not.
It's related with API URL search.
View comment · Posted Mar 14, 2024 · Vinicius
0
Followers
0
Votes
0
Comments
Vinicius created a post,
I'm developing an application that allows users to select dates and insert them into custom fields. My goal is to utilize the Zendesk API to search for tickets based on specific start and end dates, which are represented as custom fields within the tickets. Here's an example of the URL I'm trying for the search query:
https://.zendesk.com/api/v2/search.json?query=type:ticket custom_field_16896528598683>=2024-04-21 custom_field_16896502734363<=2024-04-25
In this URL, custom_field_16896528598683 represents the start date and custom_field_16896502734363 represents the end date. My objective is to find tickets that either overlap or fall within the specified date range. The purpose of this search is to prevent the assignment of dates to a new ticket if another ticket already includes those dates, ensuring date uniqueness across tickets.
Is it possible to do? Or I need to search all tickets and pass one by one?
Edited Mar 13, 2024 · Vinicius
0
Followers
3
Votes
10
Comments