How to Retrieve Application Access of a User in Jira
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
To use REST API to retrieve Application Access of a given user in Jira.
Solution
REST API call:
1
<base url>/rest/api/2/user?username=admin&expand=applicationRoles
ℹ️ Please replace
<base url>
with the respective value.Example result:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
{ "self":"<base url>/rest/api/2/user?username=admin", "key":"admin", "name":"admin", "emailAddress":"admin@example.com", "avatarUrls":{ "48x48":"<base url>/secure/useravatar?avatarId=10122", "24x24":"<base url>/secure/useravatar?size=small&avatarId=10122", "16x16":"<base url>/secure/useravatar?size=xsmall&avatarId=10122", "32x32":"<base url>/secure/useravatar?size=medium&avatarId=10122" }, "displayName":"Admin User [Local]", "active":true, "timeZone":"Asia/Kuala_Lumpur", "locale":"en_US", "groups":{ "size":3, "items":[ ] }, "applicationRoles":{ "size":2, "items":[ { "key":"jira-servicedesk", "name":"Jira Service Management" }, { "key":"jira-software", "name":"Jira Software" } ] }, "expand":"groups,applicationRoles" }
Updated on April 15, 2025
Was this helpful?
Still need help?
The Atlassian Community is here for you.