Exception occurs on Add-VSTeamWorkItem and Update-VSTeamWorkItem when non-english characters are in text fields like title or description. Is this an encoding problem or a problem with property validation?
Steps to reproduce
Set-VSTeamAccount -Account XXX -PersonalAccessToken XXXXXXXX
Set-VSTeamDefaultProject XXX
Add-VSTeamWorkItem -Title "Ä title with a German umlaut" -Description "Ä same problem in description" -WorkItemType Epic
Expected behavior
A new epic is created with proper title and description including non-english characters.
Actual behavior
An exception occurs
WARNUNG: You must pass a valid patch document in the body of the request.
Invoke-RestMethod : {"$id":"1","innerException":null,"message":"You must pass a valid patch document in the body of the
request.","typeName":"Microsoft.VisualStudio.Services.Common.VssPropertyValidationException,
Microsoft.VisualStudio.Services.Common","typeKey":"VssPropertyValidationException","errorCode":0,"eventId":3000}
In C:\Program Files\WindowsPowerShell\Modules\VSTeam\7.2.0\vsteam.functions.ps1:261 Zeichen:18
+ $resp = Invoke-RestMethod @params
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Exception occurs on Add-VSTeamWorkItem and Update-VSTeamWorkItem when non-english characters are in text fields like title or description. Is this an encoding problem or a problem with property validation?
Steps to reproduce
Expected behavior
Actual behavior
Environment data
OS
Server