Versions Compared

Key

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

This routine is available starting with

  • Power Scripts 2.5.12 / 2.6.7 versions and above
  • katl-commons2.5.16+ / 2.6.8+

This routine is available since 

  • JJUPIN 2.5.12+ / 2.6.7+
  • katl-commons 2.5.16+
    • (server)
    • SIL Engine™ (former katl-commons) 2.5.16 / 2.6.8
    +

    Syntax

    lfDisableTab(field)

    ...

    Excerpt
    Disables the given tab of a provided name.

    Parameters

    ParameterTypeRequiredDescription
    fieldStringYes
    Specifies
    The name of the tab to disable.

    Example

    If the assignee is not admin, You can disable the Field tab from on the issue for users that are not admins.

    Code Block
     if(assignee != "admin") {
         lfDisableTab("FieldAdditional Tab");
     } 
    Prior to DisableAfter Disable

    Image Added

    Image Added



    See also

    Filter by label (Content by label)
    showLabelsfalse
    max35
    showSpacefalse
    sorttitle
    cqllabel = "live_fieldslf_routines"
    labelsjira_comment_routine

    ...