In a Jira server (using Crowd) the users are managed with Active Directory.
When I perform this REST GET call via the browser
https://jira.myserver.dom/rest/api/2/user/search?username=username@domain.dom
I get the expected answer, but if I perform the same call via Java code I get the following error:
The following email address retrieved more than one active user in this Jira instance: username@domain.dom
Any idea of where this error message is coming from?
Thanks
Francesco