Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create Jira CMDB using rest Api via powershell

Sushant Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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