The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to upload users to JIRA from CSV?

Justin Corcoran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 23, 2012

I have a bunch of new issues that I want to import into JIRA. These issues have ~50 new users tied to them (as assignee or reporter), but when I import the issues, there isn't a good option to set up how I want the new users created (I can't say which field is the user's name, which is email, etc).

Instead, I'd like to import all of the users first, hopefully with some additional options for specifying what each column contains. Is this possible? I've looked all over the User's Administration tab, and don't see any options for "Import Users". Am I missing something?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 23, 2012

JIRA Command Line Interface has a couple of options for this type of thing:

  1. addUserWithFile action has been available for a long time based on a specific csv format - an example is shipped with the distribution: examples/addUserWithFile.csv
  2. runFromCsv action is a newer, general purpose capability that can be used together with the addUser and addUserToGroup actions
  3. runFromSql can be used similarly if the data originates in a database
Luzia Mendes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 15, 2013

Hey Bob! Where is the addUserWithFile.csv file now? BB tells me the path is wrong OR I don't have access...

Luzia Mendes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 15, 2013

I can get to the tag "tip"

CLI / src / itest / resources /

but the file is not there...

Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 15, 2013

BB link is private now, so you will have to go to your distribution's examples directory.

TAGS
AUG Leaders

Atlassian Community Events