RTC: Display child work item's attribute value in parent?
![]()
De'Shea Bennett (1●6●6)
| asked Mar 13 '13, 3:37 p.m.
edited Nov 21 '14, 3:52 a.m. by Ralph Schoon (63.3k●3●36●46) Is their a way to display child work item's attribute value in parent? For example below I was trying to get the child's estimate value displayed in the parent.
(function() {
|
Accepted answer
![]()
Hello,
I don't think the above code will do what you expect - see https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript Please also note that current API has limited support for work items: Currently there is no dedicated API to work with Items or Enumerations and scripts can only use the id of such attributes. If you need additional information, such as the name that corresponds to an Enumeration literal id, you can pass it to scripts using configuration parameters. This said - Ralph will confirm - you may use a participant that will be triggered on save action, as per this sampel - http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ Hope it helps. Eric. Ralph Schoon selected this answer as the correct answer
Comments Thanks for your quick response Eric. I am going through the Extensibility document but could you tell me how a participant automated build will update the parent when the child is changed?
Hello,
Hi Eric,
Hello Ryan,
as per previous answers, I don't think it's possible.
Eric
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I can say this is not possible today, at least not with JavaScript as Eric stated.
|
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
configuation.getChild() only gets y child node in the process configuration XML, and not the child of the work item, or even an attribute at the child.