findWithRole

    Attention!

    This method does not take into account a project for the currently synchronized issue. It collects all of the users with a specified role in each project without eliminating duplicates.

    This article applies to Exalate Classic only. If you're using the New Exalate experience, please refer to the New Exalate documentation.


    Signature

    Helper userHelper
    Signature
    findWithRole(String role)
    Description

    Returns a list of users with the specified role in any of the existing projects.

    Introduced in 0.12.0

    Example use

     def users = userHelper.findWithRole("developers")