Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

1 vote



2 answers

Permanent link
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

0 votes


Permanent link
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.related
But 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.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 29 '11, 7:29 a.m.

Question was seen: 9,951 times

Last updated: Dec 30 '15, 1:18 p.m.

Confirmation Cancel Confirm