getGroup method

  1. @deprecated
Future<Group> getGroup({
  1. String? groupname,
  2. String? groupId,
  3. String? expand,
})

This operation is deprecated, use group/member.

Returns all users in a group.

Permissions required: Administer Jira global permission.

Implementation

@deprecated
Future<Group> getGroup(
    {String? groupname, String? groupId, String? expand}) async {
  return Group.fromJson(await _client.send(
    'get',
    'rest/api/3/group',
    queryParameters: {
      if (groupname != null) 'groupname': groupname,
      if (groupId != null) 'groupId': groupId,
      if (expand != null) 'expand': expand,
    },
  ));
}