Forums

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

MySQL command: How to find all Jira active users based on email address.

Iro Karavasili
Contributor
October 14, 2019

Hello,

I need some help with a MySQL command.
I try to find all active users that have eg "@domain.com" email address.
Any help?

Thank you in advance,
Iro

3 answers

3 votes
Tuncay Senturk
Community Champion
October 14, 2019

Try this one

SELECT * FROM cwd_user where active = 1 AND email_address LIKE '%@domain.com'
1 vote
Sreenivasaraju P
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.
October 14, 2019

Hi @Iro Karavasili

Please try

select user_name from cwd_user where active=1 and email_address like '%@domain.com%';

0 votes
Iro Karavasili
Contributor
October 14, 2019

Thanks you both.!
Just found it:
SELECT DISTINCT cwd_user.lower_user_name, cwd_user.display_name FROM cwd_user WHERE cwd_user.lower_email_address like '%domain.com' AND cwd_user.active = 1;

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