Hi Bob!
I am using the following user-groups1.csv file to import new users to specified groups:
userId,userPassword,userEmail,userFullName,group
sero1,Pa$$w0rd,sergejk1@mymail.com,Sergej1 Kleva1,group1
With the command:
jira --action runFromCsv --common "--action addUser" --file "C:\Temp\user-groups1.csv"
But all created users are in all groups ! No matter what i write in "group" field!
OUPUT:
Run: --action addUser --userId "sero1" --userPassword *** --userEmail "sergejk1@mymail.com" --
userFullName "Sergej1 Kleva1" --group "group1"
User with id 'sero1' already in group 'group1'. Ignore.
User 'sero1' added.
Run completed successfully. 1 actions were successful from file: C:\Temp\user-groups1.csv
I want newly created users to be in group(s) which i write in "group" field in csv.
Is that possible?
Thanks in advance!!!
Brgds,
Sero
I have come to workaround this problem by:
creating new jira-imported-users group
Disable all other default application access group and leave only "jira-imported-users" group in your JIRA -> Administration -> Applications -> Application Access
btw: if you want to add user to multiple groups you should have the right syntax in csv:
ie:
userId, userPassword, userEmail, userFullName, group
user1, Pa$$w0rd, user1@my.company.com, John Doe, "group1, group2, group3"
group1, group2 and group3 should exist before you trigger the command!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.