getAllPermissions method

Future<Permissions> getAllPermissions()

Returns all permissions, including:

  • global permissions.
  • project permissions.
  • global permissions added by plugins.

Permissions required: Administer Jira global permission.

Implementation

Future<Permissions> getAllPermissions() async {
  return Permissions.fromJson(await _client.send(
    'get',
    'rest/api/3/permissions',
  ));
}