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
You can use the Jira User Export app: https://marketplace.atlassian.com/apps/1220535/jira-user-export?hosting=server&tab=overview
it is free
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great job, Lasse.
I will let you know if I find any trouble or possible improvement.
Thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See this tutorial for the easiest way to export JIRA users to Excel: http://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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made a simple python script to get a total user list.
Please be aware that this is used on jira (8.8.1) server:
Also, formatting doesn't work as it should here, please use the proper python indentation
import os
from jira import JIRA
#notes:
# python script for jira server 8.8.1
# python lib used:
# - https://pypi.org/project/jira/
# - https://jira.readthedocs.io/en/master/index.html
# other documentation: https://docs.atlassian.com/software/jira/docs/api/REST/8.8.1/
# author: rutger<dot>verhoeven<at>gmail<dot>com
# reminders: # export ldappassword="<password>" on the cli / terminal
#todo:
#https://developer.atlassian.com/server/jira/platform/oauth
creduser = 'yourusername'
password = os.environ.get('ldappassword')
jira = JIRA(
options = {'server': 'https://jira.your.url'},
basic_auth=(creduser, password)
)
users = jira.search_users('.', includeActive=True,includeInactive=False,maxResults=250)
# wildcard for all users is '.'
for i in users:
print(i.displayName)
print(i.key)
print(i.emailAddress)
print("")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DevOps @ FreshheadsI'll give this a try soon. Thank you for submitting. I imagine many will benefit from this work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found 2 ways:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just did a CSV export and the file is encrypting the usernames. How can i get an export with unencrypted usernames?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Heather,
Are you using the Jira User Export app for this CSV export?
Regards
Lasse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lasse,
Thanks for your response! I'm using the native cloud "Export Users" feature on the User Management administration screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Boris, You are right. OMG.
Regards
Lasse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This kinda worked for me as a quick "export" to Excel...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The power of copy paste
:D :D :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Active User Filter add-on (https://marketplace.atlassian.com/plugins/cr.tin.ActiveUserFilter.active-user-filter/server/overview) allows you to export users to CSV.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can set it to "All" and it will show you everything.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.