public interface

MigrationGroupService

com.atlassian.jira.upgrade.tasks.role.MigrationGroupService
Known Indirect Subclasses

Class Overview

Service for retrieving groups with attributes and members of a group. Should only be used during renaissance migration.

Summary

Public Methods
GroupWithAttributes getGroupWithAttributes(Group group)
Retrieves attributes of the group.
Set<UserWithPermissions> getUsersInGroup(Group group)
Retrieves all ACTIVE users in the given group.

Public Methods

public GroupWithAttributes getGroupWithAttributes (Group group)

Retrieves attributes of the group.

Parameters
group for which attributes should be retrieved.
Returns
  • group with attributes.

public Set<UserWithPermissions> getUsersInGroup (Group group)

Retrieves all ACTIVE users in the given group. This method will also return users within nested groups. Please note that users that are disabled will not be returned by this method.

Parameters
group for which users should be retrieved.
Returns
  • Set of users with permissions.