How to add users in bulk to your Jira account using Atlassian CLI

Appfire products

Software development and DevOps

adding-users-using-atlassian-cli
Dan Tombs

Dan Tombs

Sep 6, 2022

For Atlassian Command Line Interface ("ACLI") by Appfire

Adding new users to your Jira account one at a time is time consuming and tedious. Get there faster using ACLI to do the heavy lifting. 

Why is this helpful?

If you need to add a large number of users to your Jira account, ACLI can help you get it done quickly, with minimal manual work. Amelie Winkler illustrates using this example: After an acquisition, you receive a CSV file with 100 users that need to be added to Jira. See how to do it in the video above.


Grab this script: 

NOTE: “Sandbox” and “~/Downloads/NewUsers.csv” are variables you'll need to change. Replace “Sandbox” with your Jira instance and replace “~/Downloads/NewUsers.csv” with the location of your CSV file.

>>> sandbox --action runFromCsv --file ~/Downloads/NewUsers.csv --common "--action addUser"
  1. Prepare the CSV file to make sure the columns align with the respective Jira fields (userId, userEmail, userFullName, group).
  2. Open the ACLI shell connected to your Jira instance.
  3. Select the action runFromCsv.
  4. Select the file.
  5. Once you've selected the correct file, run a common action for all of the items in that CSV file (in this case, addUser).
  6. Close the command and run it.
  7. Follow along in Jira as the users are added, or do something else while you wait for it to finish.

And there you have it! 100 users added to your Jira account after just a few clicks on your part.

View all use cases
Dan Tombs

Dan Tombs

Dan Tombs is a Solution Architect at Appfire with hands-on experience across the Atlassian ecosystem since 2016. He’s worked with end customers, solution partners, and now helps teams thrive by shaping tools and processes around how they actually work and not the other way around. Dan champions automation as a path to scaling productivity, reducing context switching, and unlocking what teams do best.