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).
What I am trying to achieve is when testing and UAT is complete and deployed to production and production verification fails and the workitem is reopened, the values for SIT and UAT should be set to Not started.
Any help would be much appreciated.
Thanks
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.