The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
lfShowTab(field)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Shows the given tab. |
Shows the given tab.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
field
...
String
...
Yes
...
Specifies the tab to show
Return Type
None
Example
The following example demonstrates how to show the Field Tab from the issue if the assignee is admin.
Code Block |
---|
if(assignee == "admin") {
lfShowTab("Field Tab");
} |
Now that the field is shown, you can use lfHideTab to hide it on the issue screen.
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.