Help on OSLC Post to CQ
Hello all,
I am looking for examples on how to POST (create record) in ClearQuest using OSLC, Are there any examples available? I am using CQ V 7.1.2. Cheers, Karthik |
4 answers
Hello Karthik
Please refer to the following "ClearQuest OSLC CM REST API" wiki page - it contains lots of examples. https://jazz.net/wiki/bin/view/Main/RcmRestCmApi If there are areas you want to see more examples, send your comments to us. Thanks - Yuhong Yuhong Yin CC/CQ CM Server & Integrations |
Thanks Yuhong.
I am looking for more examples in terms of the XML Node structure etc Would be great if could point me in that direction Cheers, Karthik Hello Karthik |
Could anyone help me with OSLC samples to POST a clearquest record which contains reference list.
Best Regards, Ranjeetha |
It should go like this:
https://test.com/cqweb/oslc/repo/REPO-NAME/db/DB-SET/record set Content-Type of request body to "application/xml" request body: <?xml version="1.0" encoding="UTF-8"?> <Defect xmlns="http://www.ibm.com/xmlns/prod/rational/clearquest/1.0/" xmlns:dc="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/"> <dc:type rdf:resource="https://test.com/cqweb/oslc/repo/REPO-NAME/db/DB-SET/record-type/16777666">Defect</dc:type> <Project>DB-SET00000001</Project> <Title>POST-TEST</Title> </Defect> keywords: OSCL V1.0 POST example sample |
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.