It's all about the answers!

Ask a question

How to get value of an attibute from Parent workitem and apply to its child item?


deepti harinkhede (219) | asked Jan 11 '18, 4:31 a.m.

Hi,

I am working on a project wherein 5 child workitems get created upon creation of a parent wotkitem. Next, we want to inherite the value of 'Found In' attribute in child work items from the parent work item's 'Found In' attibute.

Any reference on how to get/set the value of attributes from parent to child?

Thanks,

Dipti

Accepted answer


permanent link
Ralph Schoon (63.1k33646) | answered Jan 11 '18, 4:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You will need to code this into a follow up action. If you create the child work items in such a follow up action, then you can set the found in based on the parents found in in one go.

See https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ for a general approach.

No, JavaScript attribute customization is not an option.
I don't think you can code this into a work item template either, but not 100% sure.

deepti harinkhede selected this answer as the correct answer

Your answer


Register or 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.