Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.

...

applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

...

Syntax

...

lfShowTab(field)

...

Package

...

Alias

...

Pkg Usage

Description

Excerpt
hiddentrue

Shows the given tab.

Shows the given tab.

Parameters

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "lf_routine" and space = currentSpace ( )
labelsarray_routines
We've encountered an issue exporting this macro. Please try exporting this page again later.