How to Export Users to CSV from JIRA

Usage FAQ

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Sometimes it is useful to get a list of users exported to CSV for various purposes. JIRA doesn't currently have this functionality but you can make use of either the Active User Filter Add-on or leverage various database functionalities to do this.

Run one of the following queries specific to your database. The output will consist of the id, username, first, and last name of the users.

Always back up your data before performing any modification to the database.

MySQL

select id, user_name, lower_first_name, lower_last_name into outfile '/tmp/jirausers.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' from cwd_user;

(info) this will not include headers

PostgreSQL

copy cwd_user(id, user_name, lower_first_name, lower_last_name) to '/tmp/jirausers.csv' delimiters',' CSV HEADER;

(info) this will include the headers.

 

Last modified on Apr 25, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.