JIRA integration with 1.9.17 is not successful. Status is showing as KO. Following is my curl command
curl.exe -k -D- -u sarkart:Tuesday@1207! -X GET -H "Content-Type: application/json" https://at.acision.com/jira/rest/api/2/ ... me=sarkart
I am using curl_setopt() for the above command as
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_URL, 'https://at.acision.com/jira/rest/api/2/ ... me=sarkart');
curl_setopt($ch, CURLOPT_USERPWD, $this->username . ":" . $this->password);
curl_setopt($ch, CURLOPT_URL, 'https://at.acision.com/jira/rest/api/2/ ... me=sarkart');
curl_setopt($ch, CURLOPT_USERPWD, $this->username . ":" . $this->password);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, CURLHEADER_SEPARATE); //displays header in output.
curl_setopt($ch, CURLOPT_HTTPHEADER, array($this->contentType) );
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
When i am executing curl command from command prompt, I am getting 200 OK as response but when I am setting curl_setopt() as mentioned above and trying to execute the command using curl_exec() response is 500, Unspecified error
What is missing here? can anyone help me.
JIRA integration with 1.9.17 is not successful.
Moderators: Amaradana, TurboPT, TL Developers