Ricerche recenti
Nessuna ricerca recente

Akshay Joshi
Data ingresso 08 dic 2024
·
Ultima attività 09 dic 2024
Seguiti
0
Follower
0
Attività totali
3
Voti
0
Abbonamento
1
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Akshay Joshi
Akshay Joshi ha commentato,
I also tried using `ticket.latest_public_comment`
I get the error InvalidPathError: Path 'latest_public_comment' doesn't exist on node 'ticket'
Visualizza commento · Data ultimo post: 09 dic 2024 · Akshay Joshi
0
Follower
0
Voti
0
Commenti
Akshay Joshi ha creato un post,
I am trying to fetch the contents of the comments on a zendesk ticket using ZAF client in js but it keeps giving me “undefined”.
eg code -
```
const ticketData = await client.get(['ticket.status', 'currentUser.name', 'ticket.comments']);
const comments = ticketData['ticket.comments'];
const commentContent=comments[0].body;
```
I also tried fetching the comments using the API - GET /api/v2/tickets/{ticket_id}/comments, and then using .body on one of the comments and still the same issue.
When I do a curl i do see the JSON response but when using
commentContent=comments[0].body I get undefined.
Could you please help me understand how to fetch the contents of the comments?
Data ultimo post: 08 dic 2024 · Akshay Joshi
0
Follower
2
Voti
2
Commenti