getPriorities method

  1. @deprecated
Future<List<Priority>> getPriorities()

Returns the list of all issue priorities.

Permissions required: Permission to access Jira.

Implementation

@deprecated
Future<List<Priority>> getPriorities() async {
  return (await _client.send(
    'get',
    'rest/api/3/priority',
  ) as List<Object?>)
      .map((i) => Priority.fromJson(i as Map<String, Object?>? ?? const {}))
      .toList();
}