Forums

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

Is there any API to fetch particular user's account ID from email (with exact match)?

rashmisatrote
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 15, 2020

I tried "/rest/api/3/user/search?query={query}". In this I have provided "demouser.jira@gmail.comss" as a query parameter. But the response returned multiple users having following email IDs:

  • demouser.jira@gmail.com
  • demouser.jira@xyz.com
  • demouser.jira@xyz.co.in

Basically, even if I provide anything after '@' it is just matching the query parameter with existing users' display name and returning multiple users in response.

My requirement is to find the user details from email id with exact match (not the prefix of this attribute's value) as a query parameter.

0 answers

Suggest an answer

Log in or Sign up to answer