JQL for searching users

Similar to the search_users function in the JIRA package in Python: http://pythonhosted.org//jira/_modules/jira/client.html#JIRA.search_users

How would you replicate the same search via JQL? 

For instance I want to search for all users that have the name "Bob Smith"

1 answer

1 vote

JQL is for finding issues, not users.

I'm not sure I can add a lot to that statement.  JQL absolutely requires that you phrase the question as "show me issues that match <question>".   Not users.  

If you want to search for users called Bob, then you need to go into the user maanagement and ask that to show you Bob.  Nothing to do with JQL

Okay, is there a way to search for users via the REST API then? How does the python package manage to do it?

The answer to that is in the code you posted: https://docs.atlassian.com/jira/REST/latest/#d2e4353

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,198 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot