It's all about the answers!

Ask a question

Fetch Workitems of Particular Type using OSLC.


Arun Batra (14612427) | asked Nov 10 '11, 12:09 p.m.
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://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



permanent link
Karol W (551811) | answered Nov 11 '11, 3:47 p.m.
hi,
try this one:
https://jazz.server:9443/ccm/oslc/contexts/_[YOUR-CONTEXT-ID]/workitems?oslc_cm.query=dc%3Atype%3D%22defect%22


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

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

Your answer


Register or to post your answer.