getSecurityLevelId

    Signature

    Helper nodeHelper
    Signature
    getSecurityLevelId(String securityLevelName, IHubProject project)
    Description

    Returns security level id, for securityLevel with name and project.

    Introduced in 4.0.2

    Example use

    Find security Level Id by name

    //"Team Only" is a security Level name
    issue.securityLevel = new com.exalate.basic.domain.hubobject.v1.BasicHubIssueSecurityLevel(
      nodeHelper.getSecurityLevelId( "Team Only", issue.project) as String,
      "Team Only",
      null
    )