getByEmail

    Signature

    HelperuserHelper
    Signature
    getByEmail(String emailAddress)
    Description

    Returns a user matching the specified email address or null if not user is found.

    Introduced in0.12.0

    Example use

    //If the user exists set the custom field value to 'Yes', otherwise set the value to 'No'
    issue.customFields."internal".value = userHelper.getByEmail(replica.reporter.email) == null ? "No" : "Yes";