getSecurityLevelId

    Signature

    HelpernodeHelper
    Signature
    getSecurityLevelId(String securityLevelName, IHubProject project)
    Description


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

    Introduced in4.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
    )