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 Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

422 views 7 5
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