We are using below API to fetch account id information:
API: https://iasp-jira2.atlassian.net/rest/api/3/user/search?query=%27atul.kumar.k.singh@accenture.com%27
We are getting 200 responses however we are not receiving any information for the account.
Welcome to the Atlassian Community!
Can you try below in your browser first and see if that works ?
https://iasp-jira2.atlassian.net/rest/api/3/user/search?query=atul.kumar.k.singh@accenture.com
I think you have added single quote in value field in postman, that might be causing the issue.
We have tried the above API also and it is returning the same response. Can you please suggest next steps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For me its working fine. Do you have the "Browse users and groups" global permission?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have verified the global permissions and added required permissions. However, still we are unable to fetch accountId info for the user who is admin for the JIRA account. Please check.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please share a screenshot of "Authorization" tab from postman ?
Alternatively, if you are logged in to the site via browser and then hit the url- https://iasp-jira2.atlassian.net/rest/api/3/user/search?query=suhas.umesh@accenture.com, it will work if you have the permissions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, thanks for your response for above query and we were able to resolve this issue with your above answer. Appreciate your support here. Thankyou! Have a great day ahead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, glad to help @Arti Ashok Agarwal Please consider marking the answer as accepted to assist other members who may have similar question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.