You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Set-FreshserviceTicket -id x -workspace_id x is executed, the modified ticket will be returned from Set-FreshserviceTicket.
Current Behavior
Using the https://api.freshservice.com/#move_a_ticket method, the documentation indicates the response will have a wrapper of "ticket{}". When the payload is returned, there is no ticket wrapper and the parse fails returning a null response from Set-FreshserviceTicket. Validated Change, Release, Problem methods properly return wrapper.
Possible Solution
Reported to Freshworks as bug and awaiting remediation. Temporary solution implemented in function to return $result.Content when workspace_id is used versus $result.Content.Ticket. Once the bug has been corrected, the function will be updated to remove the workaround.
The text was updated successfully, but these errors were encountered:
Expected Behavior
When Set-FreshserviceTicket -id x -workspace_id x is executed, the modified ticket will be returned from Set-FreshserviceTicket.
Current Behavior
Using the https://api.freshservice.com/#move_a_ticket method, the documentation indicates the response will have a wrapper of "ticket{}". When the payload is returned, there is no ticket wrapper and the parse fails returning a null response from Set-FreshserviceTicket. Validated Change, Release, Problem methods properly return wrapper.
Possible Solution
Reported to Freshworks as bug and awaiting remediation. Temporary solution implemented in function to return $result.Content when workspace_id is used versus $result.Content.Ticket. Once the bug has been corrected, the function will be updated to remove the workaround.
The text was updated successfully, but these errors were encountered: