CQ Rest API "View Record" returns only ID
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?>
<cqresponse xmlns="http://ibm.com/rational/clearquest/web/v7.1"><displayname>my_db0000009</displayname><fields></cqresponse>
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
Ralph Schoon (63.6k●3●36●46)
| 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
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.