Forums

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

User list export

Audra Bonacki
Contributor
March 5, 2018

Is there a way to export the users to Excel?

5 answers

1 accepted

1 vote
Answer accepted
Aron Gombas _Midori_
Community Champion
March 6, 2018 edited

Yes.

Better Excel app enables this, see the Exporting Jira users to Excel tutorial.

excel-user-export.png .

Audra Bonacki
Contributor
March 6, 2018

Thank you Aron, this worked like a charm!

Like Aron Gombas _Midori_ likes this
Aron Gombas _Midori_
Community Champion
March 6, 2018

Great work!

Please accept my answer so that other users can see that, too.

0 votes
Lasse Langhorn
Contributor
May 22, 2019

You can use the Jira User Export app for Jira Server. It is free to download and use: https://marketplace.atlassian.com/apps/1220535/jira-user-export?hosting=server&tab=overview

 

Regards

Lasse Langhorn

0 votes
Eric Haskett
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 15, 2018

I used this on our MySQL server to get a CSV export:

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

 

0 votes
Mirek
Community Champion
March 6, 2018

Admin Tools for JIRA also give that ability (also some additional features) that you can use to administer JIRA - https://marketplace.atlassian.com/plugins/pl.com.tt.admintoolsforjira.AdminToolsForJira/server/overview

Audra Bonacki
Contributor
March 6, 2018

Thank you Mirek, I will look into this option too.

0 votes
Gaston Valente
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 Leaders.
March 5, 2018

Audra,

There's no way, at least to my knowledge, i use a db query for this:

SELECT    
u.user_name,    
u.last_name,    
u.first_name,    
u.email_address,    
m.parent_name,    
substring( ua_lastlogin.attribute_value, 0, len(ua_lastlogin.attribute_value) - 2 ),    
u.active
FROM [JIRA7].[jiraschema].[cwd_user] u
LEFT JOIN [JIRA7].[jiraschema].[cwd_user_attributes] ua_lastlogin on u.id = ua_lastlogin.user_id and ua_lastlogin.attribute_name = 'lastAuthenticated'
LEFT JOIN [JIRA7].[jiraschema].[cwd_membership] m on u.id = m.child_id
ORDER BY u.user_name asc, u.last_name asc, u.first_name asc, m.parent_name asc

 you need to replace JIRA7 with your db name and jirachema with your schema name,

if you're not using sql server yo can delete both

Om Joshi May 9, 2022

is there any way to use this with PostgreSQL?

Adrian Castillo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 11, 2022

Hi @Om Joshi

You can use the above query that @Gaston Valente shared (thank you!) but you'll need to replace the length function that he's using, in addition to the database name and schema name of course.

Before:

len(ua_lastlogin.attribute_value) - 2 )

After:

length(ua_lastlogin.attribute_value) - 2 )

Details can be found on this function in the official PostgreSQL documentation.

Please let me know if you have any questions!

Regards,

Adrian Castillo
Atlassian Support

Francois Losier August 24, 2023

how can i find my JIRA server schema name ?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events