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

Query Test Results modified after a specific date

 I would like to query RQM for the test results in a project area which are modified after a specific date. I am using the oslc query parameters to do the same. Please find the url I am using below


https://<hostname>/qm/oslc_qm/contexts/<project_uuid>/resources/com.ibm.rqm.execution.ExecutionResult?%22dcterms:modified%22%3E%222023-01-01T00:00:00.000Z%22

But it is still returning the total test results present in the RQM. Kindly help in filtering the results based on the date modified.

0 votes


Accepted answer

Permanent link

 I have done an example and the unencoded query looked like this:  dcterms:modified > 2021-06-07T12:58:13.929Z.

In your query "dcterms:modified">"2023-01-01T00:00:00.000Z" I think the quote characters are the issue.

I have seen that the OSLC Query tends to return everything in case there are issues in the parameters in some cases.
It would be better to create an error, but sometimes this does not happen.

Karthikeyan P selected this answer as the correct answer

0 votes

Comments

Hi Ralph,


Yes, the quote characters are the issue. I can get correct results with the below query parameters
?oslc.where=dcterms:modified>%222023-01-01T00:00:00.000Z%22. 

Thank you for your clarification.

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
× 516
× 30

Question asked: Jan 19 '23, 3:54 a.m.

Question was seen: 792 times

Last updated: Jan 19 '23, 5:54 a.m.

Confirmation Cancel Confirm