Hello,
This script creates a user:
import com.atlassian.jira.application.ApplicationKeys
Users.create( 'jdoe' , 'jdoe@example.com' , 'Jane Doe' ) {
password = 'secret'
directoryId = 10_001
withApplicationAccess(ApplicationKeys.SERVICE_DESK, ApplicationKeys.SOFTWARE)
}
Is it possible to prepare a script that will later update this user - for example, how to change the password for the user? |