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
...
lfHideAllExcept(fields_tabs_and_panels)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
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.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
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 |
---|
lfHideAllExcept("details_panel", "issueType", "priority", "activity_panel", "comments_tab", "Field Tab", "customfield_10101"); |
This is equivalent to:
Code Block |
---|
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); |
Note |
---|
In addition to the Fields and graphic elements supported by Live Fields accepted by all Live Fields routines, lfHideAllExcept can also handle: |
Element | Field (to be used in routine) |
---|---|
Details Panel | details_panel |
People Panel | people_panel |
Dates Panel | dates_panel |
Timetracking Panel | timetracking_panel |
Activity Panel | activity_panel |
Comments Tab | comments_tab |
History Tab | history_tab |
Worklog Tab | worklog_tab |
All Tab | all_tab |
Add Comment | addComment |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|