getLabel

    Signature

    HelpernodeHelper
    Signature
    getLabel(String label)
    Description


    Returns a label
    Null if not found

    Introduced in0.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")
    }