Fetch Workitems of Particular Type using OSLC.
Hi,
I am trying to retrieve all the workitems of a particular type in a project area (a defect in this case) using OSLC CM Api using the following URL.
But this is giving zero results. What am I missing here??
Please Help. This is a major blocker for us.
Any hints would be helpful.
Warm Regards,
Arun
I am trying to retrieve all the workitems of a particular type in a project area (a defect in this case) using OSLC CM Api using the following URL.
https://jazz.server:9443/ccm/oslc/contexts/_Uk80kP4xEeCZkcs0I64JkA/workitems?oslc.where=rtc_cm:type=<https://jazz.server:9443/ccm/oslc/types/_Uk80kP4xEeCZkcs0I64JkA/workitemtype.defect>
But this is giving zero results. What am I missing here??
Please Help. This is a major blocker for us.
Any hints would be helpful.
Warm Regards,
Arun
One answer
hi,
try this one:
oslc_cm.query param value is urlencoded text: dc:type="defect"
dc:type value shall be the same as dc:identifier attribute value of desired work item type.
Regards,
KW
try this one:
https://jazz.server:9443/ccm/oslc/contexts/_[YOUR-CONTEXT-ID]/workitems?oslc_cm.query=dc%3Atype%3D%22defect%22
Regards,
KW
Hi,
I am trying to retrieve all the workitems of a particular type in a project area (a defect in this case) using OSLC CM Api using the following URL.
https://jazz.server:9443/ccm/oslc/contexts/_Uk80kP4xEeCZkcs0I64JkA/workitems?oslc.where=rtc_cm:type=<https>
But this is giving zero results. What am I missing here??
Please Help. This is a major blocker for us.
Any hints would be helpful.
Warm Regards,
Arun