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

How to remove inherited attribute in child workitem incase of its parent workitem has the same field mandatory & populates its value into child's attribute

Hi,

Can you clarify on the below need?

I want to remove the inherited NCC attribute from the "Required Atrributes" pre-condition which has been set for the defect workitem.

What does it means inherited atrtributes? Is it inherited from Parent workitem?

In this case, NCC attribute is a mandatory field in its Parent workitem, and its value is automatically populating into child's NCC attribute.

My requirement is, NCC attribute from Child workitem should be made as non-mandatory field.

How is it be done? Kindly anyone help.....

Thanks

Sudar

0 votes


Accepted answer

Permanent link
In that case Inherited means that you defined these attributes as required for all states. So they are also required in the new state. Inheritance does have nothing to do with inheriting values from a parent. We don't have a feature like that.

In any case, a work item could be created without a parent and would require the required attributes anyway. You simply can't make the assumption you always have a parent.

You could use custom operational behavior to achieve automation for this however. http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ shows how this can be done. The example is reverse, as it aggregates data from children to a parent, however it contains all code needed to do the reverse and populate child attributes by values from the parent (on save of the parent) or on creation of the parent link.
Sudaraazhi Arivalagan selected this answer as the correct answer

0 votes

Comments

Thank you so much Ralph !!!!

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: Oct 29 '14, 2:13 a.m.

Question was seen: 4,582 times

Last updated: Oct 29 '14, 5:10 a.m.

Confirmation Cancel Confirm