It's all about the answers!

Ask a question

How to get last modified workitems details using HTTP Client Query method?


Y Deepak (712) | asked Jul 20 '23, 9:36 a.m.
edited Jul 20 '23, 9:42 a.m.

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



permanent link
haseeb alam (91) | answered Jul 20 '23, 3:56 p.m.
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

Your answer


Register or to post your answer.