It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

User List Export

Is there a way to export my user list? I have a bunch of users and want to clean it up a bit.

9 answers

It's bizarre that you can't export a user list from the Administration interface. I have added a request for this, please vote for it: https://jira.atlassian.com/browse/JRA-23783

It's completely bizzarre to me as well. Not everyone is proficient with the CLI or SQL - neither should be required for basic administrative functionality.

See this tutorial for the easiest way to export JIRA users to Excelhttp://www.midori-global.com/products/jira-better-excel-plugin/documentation/user-export

(Excel allows you to filter, search, post-process your user account data easily.)

excel-user-export.png

You sir are a hero of the community for finally making a free app to do this. 

You have all my esteem and gratitude, and those of thousands of Jira Admins out there.

Like # people like this

Hi Mirco and thanks,

Glad you like it. We really needed this for our own Jira as well.

If you have any feature request feel free to use my Service Desk: https://langhornweb.atlassian.net/servicedesk/customer/user/login?destination=portals

Regards

Lasse

Much gratitude to you for this.  Saved me having to write a solution myself.  Thank you so much!

Unfortunately the CSVs exported from this Addon is are broken because they contain unwanted line breaks. And it only exports the currently visible users from the user management page, e.g. the first 100, and not all users.

Can you let me know what version of JIRA you are using? I would like to see if I can reproduce the unwanted line breaks.

The export limitation is based on the search results. If you limit the search to show 100 per page, then that is all the add-on will work with. All you need to do is set it to 10,000+ and it will export everyone. 

Hi! We're using JIRA 7.1.6 and unfortunately I cannot select to see more than 100 users per page:

2016-07-19 12_18_52-Users - JIRA.png

 

You can set it to "All" and it will show you everything.

If you get your list of users and copy the text from the page along with the headers into google docs.  Not high tech but it worked for me.

what if you have 2233665544 users?

This kinda worked for me as a quick "export" to Excel...

Capture.PNG

The power of copy paste
:D :D :D

Martin - you can't copy & paste all of it at once, so you're stuck with paging through all of it, and even when you do, you wind up with a pile of specially formatted $#!% (merged cells, etc) to deal with, making sorts in excel impossible without further manual editing.

I just did a CSV export and the file is encrypting the usernames. How can i get an export with unencrypted usernames?

Hi Heather,

Are you using the Jira User Export app for this CSV export?

Regards

Lasse

Hi Lasse,

Thanks for your response! I'm using the native cloud "Export Users" feature on the User Management administration screen. 

Screenshot 2019-06-20 09.36.06.png

Hi Heather,

Ok so you are using Jira Cloud.

It sounds like a bug to me. According to https://confluence.atlassian.com/cloud/export-users-from-a-site-833925313.html user names are not encrypted.

I would contact Atlassian about this issue.

Regards

Lasse

Wooo GDPR ;) But seriously, this is because usernames have become restricted in Atlassian Cloud. As profile visibility controls are not fully rolled out yet, you can't force visibility (nor am I sure you will be able to force username visibility even once they're out). For all intents and purposes, email is the best key you can use now. Depending on what you're trying to get the user list for, I can offer some alternative methods.

Boris, You are right. OMG.

Regards

Lasse

That makes sense, thanks Boris! We're migrating cloud projects to our server instance and our username format is not consistent across them. We used the cloud user list export with a script to clean the usernames before importing into server to avoid duplicate users. Any ideas for alternative methods to get a username CSV file would be much appreciated!

I would definitely use emails to map the users given that you have an authoritative list for internal users. If you are dealing with external staff in the Cloud instance then it gets move complicated. 

Hi all,

For Jira Data Center, I had success in using the REST API

To try it out, Insomnia is a free tool that can build queries in a very easy way.

https://YOUR-SERVER/rest/api/latest/user/search?username=.&startAt=1&maxResults=2000&includeActive=true&includeInactive=true

I've embedded that in a custom .NET tool used for migration from Cloud to Data Center.

As per an older comment, I indeed used e-mail addresses to map users between Cloud and our AD users.

Cheers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

880 views 7 24
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you