createComponent method
Creates a component. Use components to provide containers for issues within a project.
This operation can be accessed anonymously.
Permissions required: Administer projects project permission for the project in which the component is created or Administer Jira global permission.
Implementation
Future<ProjectComponent> createComponent(
{required ProjectComponent body}) async {
return ProjectComponent.fromJson(await _client.send(
'post',
'rest/api/3/component',
body: body.toJson(),
));
}