How to get last modified workitems details using HTTP Client Query method?
Hi,
We are trying to get a custom workitem type and it's attributes details using HTTP Client Query method and the headers are "Content-Type", "application/rdf+xml", "OSLC-Core-Version", "2.0", "Accept", "application/rdf+xml".
By using the above query(last modified in 24hrs) we are able to get existing workitems in the CLM system which are updated in the last 24hrs. But if we create new workitems and they are also having the modified date populated based on the time the work item was created but these are not being fetched in the query shown above.
If we reused the same query for other workitem type we are able to fetch the data and the output contains even the newly created workitems also.
Is there any known issues like this before,in one work item type its working and for others its not working so if anyone has faced/come across any similar issues before.
One answer
Try this
https://clm.pw.ge.com/ccm/oslc/contexts/_kpOfoqTMEeWJ4v8-LiiVxg/workitems
?oslc.where=dc:modified%3E%222023-07-19T12:58:47.000Z%22
%20and%20rtc_cm:type=%22com.ibm.team.workitem.workitemtype.plmmilestone%22
&oslc.pageSize=100
&_startIndex=0 &oslc.select=dcterms:type,dcterms:identifier,dcterms:title,rtc_cm:state,rtc_ext:plannedStartDate,rtc_ext:milestone_due_date
?oslc.where=dc:modified%3E%222023-07-19T12:58:47.000Z%22
%20and%20rtc_cm:type=%22com.ibm.team.workitem.workitemtype.plmmilestone%22
&oslc.pageSize=100
&_startIndex=0 &oslc.select=dcterms:type,dcterms:identifier,dcterms:title,rtc_cm:state,rtc_ext:plannedStartDate,rtc_ext:milestone_due_date