I'm lookig for a way to get an specific user with Jira DC REST API using the email adress

Felipe Pérez _ServiceRocket_ May 13, 2024

Following this guide Find Users , when I use the following API call


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

"key": "JIRAUSER10105",
"name": "fperezcorrea",
"emailAddress": "f.per.correa@servicerocket.com",
"displayName": "Felipe Perez Correa",
"key": "JIRAUSER10101",     
"name": "fperezSR",   
"emailAddress": "f.per@servicerocket.com,"   
 "displayName": "felipe perez SR",

Is it possible to get the specific user using the email address?

Thank you in Advance

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2024

Hi @Felipe Pérez _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,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events