Display parent work item's attribute value in a child?
Is it possible to display the value of a parent work item's attribute in a child work item?
I know it is possible to query children work items that have a parent work item attribute with a specific value, but I'd like to display the parent work item's attribute in the child work item.
I have two custom work items. One the parent, has a field which indicates whether the work item was raised internally or externally and the child tasks resolve the problem in multiple streams. But I'd like to display on the child task whether the problem was discovered internally/externally as set by the parent (so it would be readonly in the child).
Thanks
Rachel
I know it is possible to query children work items that have a parent work item attribute with a specific value, but I'd like to display the parent work item's attribute in the child work item.
I have two custom work items. One the parent, has a field which indicates whether the work item was raised internally or externally and the child tasks resolve the problem in multiple streams. But I'd like to display on the child task whether the problem was discovered internally/externally as set by the parent (so it would be readonly in the child).
Thanks
Rachel
3 answers
To my knowledge, scripted custom value providers won't work in this context. As far as I know there is no way to access the links to other work items, or the linked work items.
I would suggest to look into
https://jazz.net/library/article/784
https://jazz.net/library/article/634
One way to do this would be using a followup action to set the value in child work items if it changes.
I would suggest to look into
https://jazz.net/library/article/784
https://jazz.net/library/article/634
One way to do this would be using a followup action to set the value in child work items if it changes.
Comments
Sachin Nairy
Sep 17 '13, 6:28 a.m.Dear Rachel,
Did u got any solution for this query? if yes please share the link.
Thanks
Sachin Nairy