How to search for JIRA users using email through REST API

I need help with the JIRA REST API. I’m building an external application that connects to JIRA and I want to check if a user exists by their email address.

Right now I can successfully search for users by username, but when I try to use an email address as the search parameter, it doesn’t work. I’ve looked at the official documentation but I’m still confused about the correct way to do this.

Is there a specific endpoint or parameter I should use to find users by email? Any examples would be really helpful.

Had this exact problem six months ago when connecting our internal tools to JIRA. The standard user search endpoint doesn’t take email addresses directly - only usernames work by default. I used the /rest/api/2/user/search endpoint with the query parameter, but you’ve got to check your JIRA permissions first. Some companies disable email searches for security. If you’re searching multiple users, try the /rest/api/2/user/bulk endpoint instead - just needs different auth levels. I’d ask your JIRA admin if email searches are even enabled. That’s usually why username searches work fine but email searches don’t.

check if ur using the username field instead of the emailAddress parameter. had the same issue last year - I was sending the email to the wrong field. try /rest/api/2/[email protected] instead of the search endpoint. works better in my experience, but depends on ur JIRA version.