I am new to jira.
I need to access particular user permission using user key as we don't have account id for users.
Kindly let me know the uri for accessing user permission and to check whether that user is admin or not??
Thanks in advance
Hi @Nir Haimov
I went through above documents which is helpful for fetching login user permission...
It response successfully for login user but for other user how I can fetch all permission using username, key, name or email address.
Even I tried using below url
But not able to fetch permission of user pallavi.
Kindly suggest me urls for fetching particular user permission and to check that user is admin or not?
like Nir stated you can do a REST API call (using Jira server) like
You will get (when doing the call while being logged in with administrator permissions) details like the username, the mail address, the full name, the time zone set for the user, the amount of groups the user is in.
However, it does not say anything about permissions. When wanting to know if the user is admin or not (I assume you mean member in jira-administrators) you still could do a REST API call like:
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events