Availability
This routine is available starting with
- Power Scripts 2.5.12/ 2.6.7 versions and above
- katl-commons 2.5.16/ 2.6.8 versions and above
Syntax
lfDisableTab(field)
Description
Disables the given tab.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
field | String | Yes | Specifies the tab to disable. |
Example
You can disable the Field tab on the issue for users that are not admins.
if(assignee != "admin") { lfDisableTab("Field Tab"); }
See also