It's all about the answers!

Ask a question

ClearQuest OSLC 2.0 REST API


john norris (20734044) | asked May 31 '13, 3:41 a.m.

Hi, not sure if this should be in the CQ forum or Jazz but happy to post to CQ if not Jazz.

I have had a quick scan through https://jazz.net/wiki/bin/view/Main/CqOslcV2 page on the above topic and am a bit confused. I have used REST with Jira and there I can use something like curl to send a URL of the issue with a user/password parameter and get back data of that issue. But with CQ REST I am not sure if it can only be used with in CQWeb?

So is there other documentation out there? I am thinking that I would expect to have a URL of something like

/cqweb/oslc/repo/DOC/db/SAMPL22222

where SAMPL22222 is a defect ID for instance.

Sorry this is a bit vague and meandering but, as I mentioned, bit confused by this.

Regards,

John

One answer



permanent link
Hao Wan (1.5k35) | answered May 31 '13, 4:28 a.m.
JAZZ DEVELOPER
 I'm not sure whether there's CQ expert here, but from the page
https://jazz.net/wiki/bin/view/Main/CqOslcV2 

"ClearQuest Web introduced a REST API in version 7.1.0.0. "

and the samples provided

seems the API only be used within CQWeb .

Comments
john norris commented May 31 '13, 4:55 a.m.

Thanks for this Hao.

Not sure you are right - I later found this in the forum https://jazz.net/forum/questions/45682/accessing-clearquest-programatically

which does mention "OSLC is HTTP based, so you can even try it out with a simple web browser, curl or e.g. Firefox Poster plugin."

I have also raised this question on the CQ forum. But certainly the docs and examples are not obvious.

John

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.