It's all about the answers!

Ask a question

CQ Rest API "View Record" returns only ID


Josh Miller (132) | asked May 18 '20, 2:29 a.m.

 I am using powershell to try and pull defect info from clearquest. I am using REST API and specifically testing out the "Create Rest URI Wizard -> View Record" from the CQ web page. When I Invoke-RestMethod from powershell on the generated URI I only receive back the record ID, and when I enter the URI into a browser all I see is a blank page with again.. just the record ID. I should be able to see more right? like the description. headline, severity, owner, etc...


code

$response = Invoke-RestMethod -Uri $uri1
write-output $response

output
<?xml version="1.0" encoding="UTF-8?>


Any help or direction would be life saving. I did ensure that XML/ATOM is enabled with REST URI's and that Credentials can be passed with URIs from the site configuration.

Accepted answer


permanent link
Ralph Schoon (63.6k33646) | answered May 18 '20, 4:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Joshua,

this is not a ClearQuest Forum, and especially not a Clear Quest API forum. I would suggest to consider to search the internet for dedicated ClearQuest Forums.
Josh Miller selected this answer as the correct answer

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.