Jira user list.

Is there a way to create a printable list of all the users in my JIRA database? There are a number of users that have left the company and I want to do cleanup.

thanks.

Eric Sebian

1 answer

This widget could not be displayed.

Easiest way IMHO go to database backend fire a sql query take the results in csv and print.

yes mysql database in your case.

would you happen to know the table name that I need to query?

is the DB you are refering to the "jiradb"? that I created in mysql. (may be different for you)

thanks. I'll try to figure it out and only bug you if I get stuck. :)

Ok. I'm back. I tried to do a select on the table CWD_USER but there was nothing in there. Though I did find user data in userbase. Is that a valid table?

select * from userbase;


Also, is this the best way to get my list in printable form?

what version of jira you are running ? Not sure about the best way but that's the easiest and fastest way IMHO

I am running version 4.2

Looking at this article it seems to be best way as well

I thought so for jira 4.2 please refer this article

SELECT u.id, u.username, ps.propertyvalue INTO OUTFILE '/path/to/userlist.csv'
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    LINES TERMINATED BY '\n'
FROM userbase u JOIN propertyentry pe ON pe.entity_id = u.id JOIN propertystring ps ON ps.id = pe.id
WHERE  property_key = 'fullName' ORDER BY propertyvalue ASC;

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

139 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you