Unable to create Jira CMDB using rest Api via powershell

Sushant Kumar December 26, 2019

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

0 answers

Suggest an answer

Log in or Sign up to answer