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

How to find all Records(Issues) In Clear Quest Server using Querys? Help!

 I have using Java with Rest API.
1.     we are able to find all records in Clear Quest server with using projects in query, can you see below query for more details.
    String queryString = "http://localhost:80/cqweb/oslc/repo/8.0.0/db/SAMPL/record/?oslc_cm.query=Project in [\"SAMPL00000001\"]&rcm.type=ALMRequest";

Above query returning all issue with single project and more projects, this is fine.  

2. I want to find all records in CQ without projects .
we are using below query to find the all issue without projects but it's received status is 403 (return a 403 FORBIDDEN code for unsupported databases).

    String queryString = "http://localhost:80/cqweb/oslc/repo/8.0.0/db/SAMPL/record/?oslc_cm.query=rcm.type=ALMRequest";

where Iam missing? is it there any query mistake.
 Any one help me out.

thanks.

0 votes



One answer

Permanent link
 I have tried below query to find the all issues without projects.

String quesryString = "http://localhost:80/cqweb/oslc/repo/8.0.0/db/SAMPL/record/?oslc_cm.query=Owner=\"admin\"&rcm.type=ALMRequest";

I can able to get the all issues now.

0 votes

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
× 524

Question asked: Sep 29 '15, 2:03 a.m.

Question was seen: 1,804 times

Last updated: Sep 29 '15, 4:26 a.m.

Confirmation Cancel Confirm