It's all about the answers!

Ask a question

How to report on Parent and Children work item in RPE.


Anthony Okodua (135) | asked Nov 29 '18, 1:29 p.m.


Guys i am developing a report on parent and child work item in RPE. I am trying to have the report show the parent and the child associated to it. I believe this will have to do with the link between the two. I want to ask if anyone has developed this kind of report and if they can share the template i will really appreciate that. If also there is a link to help develop this that will work as well.



One answer



permanent link
Subramanya Prasad Pilar (4.5k14) | answered Dec 02 '18, 1:45 p.m.

You can get these details by querying on workitem/workItem/auditableLinks.
To get parent workItems, you can use the following filter:
name == "com.ibm.team.workitem.linktype.parentworkitem"
You can reconfigure the (another) data source by setting its URI to workitem/workItem/auditableLinks/targetRef/referencedItem/reportableUrl
and then print the parent workitem details.

The above screenshot shows how to print parent WIs. You can explore this further to print child WIs.


Comments
Anthony Okodua commented Dec 10 '18, 10:45 a.m.

Thank you Prasad. This is what i am looking for. Also is there a way to flip this to have the parent at the top and child at the bottom? Thank you 

Your answer


Register or to post your answer.