How to set the value of custom attribute of type enumeration using javascript. ?
I have two attributes SIT and UAT based on enumeration values (not Started, In progress and Completed).
Accepted answer
The API is explained here: https://jazz.net/wiki/bin/view/Main/AttributeCustomization enumeration type attributes can be set using setValue(enumerationliteralID). A calculated value could return the desired value or the current value. Problem is, there is no real easy way to detect the state change in the calculated value.
One other answer
In my case, I have three calculated scripts that needs to executed when the state changes. I notice only one of them get executed. Is it the way it is supposed to work or am I doing something wrong?
Comments
The rules are explained here: https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_based_calculated_values