lfDisableTab (Power Scripts)
Syntax | lfDisableTab(field) | Package |
|
Alias |
| Pkg Usage |
|
Description
Disables the given tab of a provided name.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
field | String | Yes | The name of the tab to disable. |
Return Type
None
Example
You can disable the Field tab on the issue for users that are not admins.
if(assignee != "admin") {
lfDisableTab("Additional Tab");
}