It's all about the answers!

Ask a question

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


Rohit Nagamalla (1515) | asked Dec 30 '15, 2:56 a.m.
edited Dec 30 '15, 3:20 a.m.
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,

One answer



permanent link
Donald Nong (14.5k614) | answered Jan 11 '16, 1:41 a.m.
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

Your answer


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