How to Retrieve Application Access of a User in Jira

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

To use REST API to retrieve Application Access of a given user in Jira.

ソリューション

  1. REST API call:

    <base url>/rest/api/2/user?username=admin&expand=applicationRoles

    ℹ️ Please replace <base url> with the respective value.

  2. 結果の例:

    { "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" }
更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。