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 |
3 answers
Hello,
Did you try using the calculated value script for this particular field - where you can try getting the value of the attibute's value in the parent item. Otherwise, a custom plugin code to do this. Thanks. |
Ralph Schoon (63.1k●3●36●46)
| answered May 29 '12, 2:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. |
Ralph Schoon (63.1k●3●36●46)
| answered Sep 17 '13, 6:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It is impossible with JavaScript. You have to write a follow up action/participant as described here: https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/
Comments
Ralph Schoon
commented Sep 17 '13, 6:33 a.m.
| edited Sep 17 '13, 6:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The only other way would be a UI extension with a presentation that gets the data from the parent/child. This is quite complex and would not work with all clients either.
|
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.
Comments
Dear Rachel,
Did u got any solution for this query? if yes please share the link.
Thanks
Sachin Nairy