I am trying to create new user with JIRA application access.
UserService.CreateUserRequest createUserRequest = UserService.CreateUserRequest.
withUserDetails(loginUser, <username>, <password>, <email>,
<fullname>);
How can I get the reference of existing applicationKeys for a user to add the SOFTWARE application key.
applicationKeys.add(ApplicationKeys.SOFTWARE);
UserService.CreateUserRequest createUserRequest = UserService.CreateUserRequest.
withUserDetails(loginUser, user.getSamAccountName(), null, user.getMail(),
user.getFullName()).withApplicationAccess(applicationKeys);
Hello Srinivas,
The Application access is governed by a group associated to application access, in a scripted create if you have the the default group membership for new users in jira set to a group with application access then the user should be added to this group on create.
This is done under Admin >> Applications >> Application Access and Set a defaults for new users with the Set Default button next to a group (Additional Details Here)
Alternatively check out this thread that details how to specify a Group during user creation:
-Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.