Info |
---|
|
This routine is available since JJUPIN starting with ++- (server)
- SIL Engine™ (former katl-commons) 2.5.16
+ + |
Syntax
lfDisableTab(field)
Description
Excerpt |
---|
Disables the given tab of a provided name. |
Parameters
Parameter | Type | Required | Description |
---|
field | String | Yes |
Specifies The name of the tab to disable. |
Example
If the assignee is not admin, You can disable the Field Tab from tab on the issue for users that are not admins.
Code Block |
---|
if(assignee != "admin") {
lfDisableTab("FieldAdditional Tab");
} |
...
Prior to Disable | After Disable |
---|
Image Added | Image Added |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 35 |
---|
showSpace | false |
---|
sort | title |
---|
cql | label = "live_fieldslf_routines" |
---|
labels | jira_comment_routine |
---|
|
...