How to add multiple users with JIRA command line interface from csv file?

Rahym Salamov February 18, 2019

Hello,

I try to add multiple users. Users are specified in "users.csv" file in the same directory with /atlassian-cli-7.9.0/jira.bat. I installed JIRA CLI (Command Line Interface). I run the command:

./jira.bat --action addUserWithFile --server http://localhost:8080 --password <12345> --user <rsalamow> --file "D:\atlassian-cli-7.9.0\users.csv"

But I got the error: "The system cannot find the file specified."

I tried many file specifications with different address types. I think command is correct except file path specification.

I also searched for in atllasian community and google for that but could not find.

I use Jira Software 7,6,2 on Windows 10 platform.

How can I add those users? In this way or any other? Thanks

1 answer

0 votes
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 18, 2019

Dear @Rahym Salamov ,

I have no Win 10 at hand but try to run it with

"D:\\atlassian-cli-7.9.0\\users.csv"

so long

Thomas

Rahym Salamov February 18, 2019

Hi @Thomas Deiler,

I tried several times with different variations. Still not working.

Thanks

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2019

Have you tried to locate users.csv in the same directory like jira.bat?

Rahym Salamov February 19, 2019

Of course

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 20, 2019

Dear @Rahym Salamov ,

as an alternative to CLI you can do it like described my fresh article.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events