Read only attribute of Enumeration type
Hello Everyone,
I need to make attribute of type Enumeration Read only when its Value is other than "Unassigned" and editable when it is "Unassigned".
I tried this scenario with below Condition script and applied precondition but still its not working.
var WorkItemAttributes= com.ibm.team.workitem.api.common.WorkItemAttributes;
var DeviceName = workItem.getValue("com.itr.workitem.deviceEnum");
if(DeviceName != "com.itr.workitem.deviceEnum.literal.l1") Kindly help me. |
One answer
Ralph Schoon (63.3k●3●36●46)
| answered Sep 18 '19, 2:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER This is not a valid script. In addition this is a really terrible idea, I think. What if the user would accidentally select a wrong value. No way to fix? |
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.