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.

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=lfHideAllExcept+-+15480334
widthauto

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

Syntax

lfHideAllExcept(fields_tabs_and_panels)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Hides all given fields, panels, and tabs except the ones given as parameters.

Hides all given fields, panels, and tabs except the ones given as parameters.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

fields_tabs_and_panels

String

Yes

Specifies the fields, panels, or tabs to hide.

Return Type

None

Example

Code Block
languagejs
lfHideAllExcept("details_panel", "issueType", "priority", "activity_panel", "comments_tab",  "Field Tab", "customfield_10101");

This is equivalent to:

note
Code Block
languagejs
lfShow("details_panel");
lfShow("issueType");
lfShow("activity_panel");
lfShow("comments_tab");
lfShowTab("Field Tab");
lfShow("customfield_10101");
//for all the other fields, tabs and panels: lfHide(element);

In addition to the Fields and graphic elements supported by Live Fields accepted by all Live Fields

...

functions, lfHideAllExcept can also handle:

ElementField (to be used in
routine
function)
Details Paneldetails_panel
People Panelpeople_panel
Dates Paneldates_panel
Timetracking Paneltimetracking_panel
Activity Panelactivity_panel
Comments Tabcomments_tab
History Tabhistory_tab
Worklog Tabworklog_tab
All Taball_tab
Add CommentaddComment

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "lf_routine" and space = currentSpace ( )
labelsarray_routines

...