Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes

Comments

Dear Rachel,

Did u got any solution for this query? if yes please share the link.

Thanks

Sachin Nairy



3 answers

Permanent link
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.

0 votes


Permanent link
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.

0 votes


Permanent link
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/

0 votes

Comments

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

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 28 '12, 11:48 a.m.

Question was seen: 3,740 times

Last updated: Sep 17 '13, 6:33 a.m.

Confirmation Cancel Confirm