It's all about the answers!

Ask a question

When will fire the customized attribute?


Jia Jia Li (8058157192) | asked Apr 05 '16, 1:13 a.m.
edited Apr 05 '16, 1:56 a.m. by Ralph Schoon (63.4k33646)
I see work item has  attribute customization to support javascript based calculated value. I want to know when will fire this script? Saving the work item, creating the work item or any other action to fire such script?

Accepted answer


permanent link
Jia Jia Li (8058157192) | answered Apr 05 '16, 1:18 a.m.
If you configure a Script-based calculated value, the script will be executed in three cases:

When a work item is created, the script is executed
When a work item is saved, the script is executed to recalculate the value.
When an attribute which the current attribute depends on is changed, the value of the current attribute is recalculated. Depending on the presentations of the two attributes this may not work in all cases.\


I get the answer from https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Dependent_Enumerations_4_0
Ralph Schoon 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.