Since JAVACLIENT-87, there is no way to create a user with a given password.
Moreover, the documentation is not up to date and still mention user.setPassword
Add properties map for the entity User
Add missing password and tenantId field to UserProperties
Remove password property from the User
Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.