I had a working code of creating a record in Jira via Powershell . It suddenly started failing last Thrusday. No change in code is there . The error simply puts up as
Invoke-RestMethod : The remote server returned an error: (400) Bad Request.
At line:1 char:18
+ ... eCreation = Invoke-RestMethod -uri https://condecosoftware.atlassian. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand