There are times that group_id is being returned as string instead of number when using Show Changes to Ticket endpoint and causes json unmarshal to fail
json: cannot unmarshal string into Go struct field Ticket.result.ticket.group_id of type int64
Changing the type of Ticket.GroupID with json.Number seems to solve the issue.
There are times that
group_id
is being returned as string instead of number when using Show Changes to Ticket endpoint and causes json unmarshal to failChanging the type of Ticket.GroupID with
json.Number
seems to solve the issue.