Unable to change the role of user via jira cloud plugin code

Is any specific role needed to assign new user to user role.