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

How to filter records based on last watermark in Clearquest (CQ) using java rest api ?

Hi All,
     In the myMethod implementation we should where possible include the startWatermark/startDate as part of the query conditions, to find only those issues / items that changed since last update.
 
   I am using few query conditions based on owner, Headline and severity  etc, but i want to use datetime in Query condition.

Any one provide me any links/example.
I am going via below CQ Documentation.
https://jazz.net/wiki/bin/view/Main/RcmRestCmApi.
Above link it is not giving datetime query  conditions.

thanks,

0 votes



One answer

Permanent link
It would be so much easier for others to understand your request if you just ask "how do I use Date_Time value in ClearQuest OSLC API", rather than mentioning "last watermark" that no one understands.

You can use a Date_Time value the same way as a string, but just need to keep it in a particular format. For example:
?oslc.where=cq:Submit_Date>="2000-06-14T14:00:00Z"

Also, you should check out the V2 of the ClearQuest OSLC API.
https://jazz.net/wiki/bin/view/Main/CqOslcV2

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
× 7,497
× 1,700

Question asked: Dec 30 '15, 2:56 a.m.

Question was seen: 3,118 times

Last updated: Jan 11 '16, 1:41 a.m.

Confirmation Cancel Confirm