...
If you want to enable a field to the Admin user (and keep it disabled for all other users), use the lfEnable routine function.
Code Block | ||
---|---|---|
| ||
if(assignee == "admin") { lfEnable("issueType"); } |
To disable the field, use the lfDisable routinefunction.
Example 2 - Advanced Example
...
For more information about the other routines functions used in this example, see lfDisable and lfWatch.
...