oslc_cm query rtc_cm:com.ibm.team.workitem.linktype.related
I try to add "rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related" property to oslc_cm.query. I run https://server:9443/jazz/oslc/contexts/_ZWxa0P5GEd-Q7uwHpvpK0Q/workitems.xml?oslc_cm.query=dc:identifier=942 query. It works successfully.
How can I add to the query "rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related" property? Is it possible? I want to get the List of relatedWorkitems with criteria? rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related=dc:title="title info" Thanks |
2 answers
I hope the 2.5 years of waiting was worth it...
https://SERVER:9443/jazz/oslc/workitems/WORKITEMID/rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related.xml |
Andre Carlos Antunes de Oliveira (40●2●4)
| answered Dec 30 '15, 1:14 p.m.
edited Dec 30 '15, 1:18 p.m.
I could using the "related" property this way:
https://server:9443/jazz/oslc/contexts/project Area Id here/workitems?oslc_cm:query=dc:identifier=number&oslc_cm:properties=dc:identifier,dc:title,rtc_cm:rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.relatedBut I can't get the list of relatedWorkitems with criteria. My try gives the status 400 - Bad Request. I believe that it's not possible. I liked the answer of Mike to get the list of relatedWorkitems of a given workitem. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.