• Community
  • Products
  • Jira
  • Questions
  • Need help with JIRA CLI - while adding users to Jira with CLI how to add with the ldap authentication and with some group names

Need help with JIRA CLI - while adding users to Jira with CLI how to add with the ldap authentication and with some group names

Need help with JIRA CLI - while adding users to Jira with CLI how to add with the ldap authentication and with some group names - we just want to know what are the two parameters that we have to include to add user to jira with LDAP Authenticaion and few group names

C: jira-cli jira-cli-2.7.0-SNAPSHOT>jira.sh -s http://jira:8080/login -u admin -p XX --action addUser --userId E15714 --userEmail saravanan.subramanian@cmegroup.com

2 answers

Not sure I understand the problem. What you have should add the user to the first (top) directory in JIRA. To add a user to a group, use addUserToGroup

Hi,

Its possible use the command "addUserToGroup" to add multiple users in one command line?

Example:

jira --action addUserToGroup --userId "user1,user2" --group "group_test_admin" --autoGroup

When I use this command, its prompted always the same error mesage:

Remote error: user1,user2 is not a valid user.

Thanks and Best Regards,

Daniel

No, it will only add a single user to the group.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,075 views 13 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot