The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.