getPriority method

Future<Priority> getPriority(
  1. String id
)

Returns an issue priority.

Permissions required: Permission to access Jira.

Implementation

Future<Priority> getPriority(String id) async {
  return Priority.fromJson(await _client.send(
    'get',
    'rest/api/3/priority/{id}',
    pathParameters: {
      'id': id,
    },
  ));
}