addUsersToOrganization method
Future<void>
addUsersToOrganization({
- required int organizationId,
- required UsersOrganizationUpdateDTO body,
This method adds users to an organization.
Permissions required: Service desk administrator or agent. Note: Permission to add users to an organization can be switched to users with the Jira administrator permission, using the Organization management feature.
Implementation
Future<void> addUsersToOrganization(
{required int organizationId,
required UsersOrganizationUpdateDTO body}) async {
await _client.send(
'post',
'rest/servicedeskapi/organization/{organizationId}/user',
pathParameters: {
'organizationId': '$organizationId',
},
body: body.toJson(),
);
}