Open rasimmers opened 1 year ago
This issue has been raised with Freshservice Product Management. Based on initial findings and behavior, it needs to be investigated as a bug in the Freshservice API. Attachments are supported with Invoke-WebRequest -Form and the same code is used in all API endpoints.
Expected Behavior
New-FreshserviceProblem will create a problem with specified attachment(s).
Current Behavior
Error message from API: We're sorry, but something went wrong.
Possible Solution
As a workaround, create Problem without attachment(s) and then use Set-FreshServiceProblem to attach items.
Steps to Reproduce (for bugs)
$prob = New-FreshServiceProblem @newFreshServiceProblemSplat