Info |
---|
|
This routine is available starting with - Power Scripts™ 2.5.12 / 2.6.7 versions and above(server)
- SIL Engine™ (former katl-commons) 2.5.16 / 2.6.8 versions and above
|
Syntax
lfDisableTab(field)
...
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
You can disable the Field 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 = "lf_routines" |
---|
labels | jira_comment_routine |
---|
|
...