createVersion method
Creates a project version.
This operation can be accessed anonymously.
Permissions required: Administer Jira global permission or Administer Projects project permission for the project the version is added to.
Implementation
Future<Version> createVersion({required Version body}) async {
return Version.fromJson(await _client.send(
'post',
'rest/api/3/version',
body: body.toJson(),
));
}