Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Accessing ClearQuest programatically

Hi,

I need to access ClearQuest programatically using C#. I just found ClearQuest OSLC REST API. Client is planning to use ClearQuest web 7.1.1. I read that it comes with OSLC REST API out the box. Can someone please provide me some examples on how I can access the CQ through C# or Java using this API. I much appreciate any info.

Thank you,
Ana

0 votes



24 answers

Permanent link
Deleting an attachment is not supported yet through the CQ OSLC interface. You should get "405 Method Not Allowed" if you do a "DELETE" to the attachment context.

Thanks

- Yuhong

Yuhong Yin
CC/CQ CM Server & Integrations

0 votes


Permanent link
Hi Yuhong,

I'm getting error 415 when I run it in my schema:

status = 415 Unsupported Media Type

I used Windows to create a dummy test6.txt file ...

and changed this line:

$content = $content . "Content-Disposition: form-data; name=\"file\"; filename=\"c:\\temp\\test6.txt\"";

Any idea?


Lex

0 votes


Permanent link
From my investigation so far, it failed due to the fact that ClearQuest 7.1.2.2 cannot take in multipart/form content type:

$header->header('Content-Type' => 'multipart/form-data; boundary=UdCwYxcWhVYyLPJCRxQTEowAxgcepp');


Regards,

Lex

Hi Yuhong,

I'm getting error 415 when I run it in my schema:

status = 415 Unsupported Media Type

I used Windows to create a dummy test6.txt file ...

and changed this line:

$content = $content . "Content-Disposition: form-data; name=\"file\"; filename=\"c:\\temp\\test6.txt\"";

Any idea?


Lex

0 votes


Permanent link
Hi All,

Wanted to Modify a CQ Field by using Perl (CQ Web). Is there any Sample perl Script to Modify a Particular Field (Note Entry).


regards,
Arun

0 votes

1–15 items
page 3of 1 pagesof 2 pagesof 3 pages

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Nov 12 '10, 11:04 a.m.

Question was seen: 32,755 times

Last updated: Nov 12 '10, 11:04 a.m.

Confirmation Cancel Confirm