Hi,
Can you please help me to get user list with their name, userid and email address
from jira server( linux login with postreg db).
Regards,Suma
Hi, @Suma Pralhad Kustagi
Hope, this will help you. It's very similar to your question
https://community.atlassian.com/t5/Jira-Software-questions/Re-How-to-pull-the-overall-number-of-logins-this-month-f/qaq-p/2295194/comment-id/253965#M253965
Or here link to Atlassian KB:
https://confluence.atlassian.com/jirakb/identify-users-in-jira-who-haven-t-logged-in-for-the-past-90-days-695241569.html
Hi @Suma Pralhad Kustagi ,
Welcome to Atlassian community!
Please use the below command to connect with PostgreSQL dB in Linux.
Once you are connected to the database, execute the following SQL query to retrieve the user list
Please accept the Answer If it helps you.
Thanks
Regards,
Sanjen
@Evgenii thank for the response. This would yeild in providing last login but i would need project wise active user list
Hi @Suma Pralhad Kustagi
Greetings.
If you need the the list project wise active list.
Please user the below query.
SELECT lower_user_name AS username, display_name, email_address, p.pname AS project_nameFROM cwd_user uJOIN projectroleactor pra ON u.directory_id = pra.directory_id AND u.lower_user_name = pra.roletypeparameterJOIN project p ON p.id = pra.project_id;
Please accept the answer If it helps you!
Sanjen Bariki
@Sanjen Bariki I get pra.directory_id does not exists..
It looks like you're new here. Sign in or register to get started.