Following this guide Find Users , when I use the following API call
http://www.example.com/jira/rest/api/2/user/search?username=f.per@servicerocket.com
I get all the users with a similar email to the one provided instead of the specified user.
In my example, I get these two users instead of the one related to the email
Is it possible to get the specific user using the email address?
Thank you in Advance
Community moderators have prevented the ability to post new answers.
Hi @Felipe Perez _ServiceRocket_
That appears to be a known defect, which you may watch / vote for to see progress: https://jira.atlassian.com/browse/JRASERVER-72862
You do not describe how you are making that call to the REST API function: a custom app, automation rule, etc. One possible workaround (depending on your usage) is to make the REST API call to get the partial matches and then use a regular expression or other text matching to find any exact matches.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.