Hi,
Is it possible to add public comment to a ticket via the FreshService API? If not, what is the best workaround?
Thanks,
Sam
Best answer by eeha0120
View originalHi,
Is it possible to add public comment to a ticket via the FreshService API? If not, what is the best workaround?
Thanks,
Sam
Best answer by eeha0120
View originalI feel silly. It is in the API documentation. I completed missed it. Thanks for pointing that out. Much appreciated.Â
Sam
HI.
Yes, totally.
Please refer to the following example in the documentation:
https://api.freshservice.com/#create_a_note
Â
P.S.: Just ensure to set private to false for the note to be public.
curl -v -u user@yourcompany.com:test -H "Content-Type: application/json" -X POST -d '{ "body":"Hi tom, Still Angry", "private":false }' 'https://domain.freshservice.com/api/v2/tickets/265/notes'
Â
Â
Hope this helps.
Â
Sincerely.
Elvis.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.