getLabel

    Signature

    Helper nodeHelper
    Signature
    getLabel(String label)
    Description

    Returns a label
    Null if not found

    Introduced in 0.8

    Example use

    // if the replica is a new feature request, label the issue 'uservoice'
    if (replica.issueType.name == "New Feature") {
       issue.labels += nodeHelper.getLabel("uservoice")
    }