Skip to end of banner
Go to start of banner

lfHide (Power Scripts)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Description

Hides the given field.

Parameters

Return Type

None

Example

The following code will hide the issue type field from the issue if the assignee is not an admin.

if(assignee != "admin") {
     lfHide("issueType");
 }

Now that the field is hidden, you can use lfShow to display it on the issue screen.

Hiding fields is not a security solution, the field is present in HTML and can still be inspected via a Show page source option. We recommend that you use this routine only for the cases when you want to add certain logic on the screen only.

See also

We've encountered an issue exporting this macro. Please try exporting this page again later.
  • No labels