ibm-jazz

Querying Jazz RTC Work Items via OSLC

﹥>﹥吖頭↗ 提交于 2019-12-04 19:45:57
I am able to get workitem if I know the ticket id using following request https://example.com:8081/ccm/oslc/workitems/37702.json . I want to query RTC to get all wrorkitems owned by a gievn user or based on tags. I am using the folllowing query to get data but unable to get the details. Search based on owner of workitem https://example.com:8081/ccm/oslc?oslc_cm.query=dc:owner= "abc@gmail.com" Search based on tags https://example.com:8081/ccm/oslc?oslc_cm.query=dc:subject= "mc" Another way of getting data out of jazz is using SPARQL. You can find the SPARQL endpoint from the rootservices (GET h

How to get workitem based on modified date and time using RTC Java API

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 19:13:17
I want to query RTC with modified date. My query is to check modified date is same as given date and time but the response that I am getting is based on given date and it is ignoring time. Response: Queried Date: 08/07/2015 15:44:09 Id: 2583 Modified date :2015-08-07 14:43:19.157 Id: 2582 Modified date :2015-08-07 14:43:19.419 Ideally, both the records should not be received in response as it is before given time. Below is my code: IQueryableAttributeFactory factory = QueryableAttributes.getFactory( IWorkItem.ITEM_TYPE ); IQueryableAttribute recAttr1 = factory.findAttribute(projectArea, IItem