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
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 could using the "related" property this way:
I believe that it's not possible.
I liked the answer of Mike to get the list of relatedWorkitems of a given workitem.
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.