createPriority method
Creates an issue priority.
Permissions required: Administer Jira global permission.
Implementation
Future<PriorityId> createPriority(
{required CreatePriorityDetails body}) async {
return PriorityId.fromJson(await _client.send(
'post',
'rest/api/3/priority',
body: body.toJson(),
));
}