Troubleshoot Jira Service Management license issues
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
Jira Service Management licenses are all occupied despite the fact that there are fewer users in the user group associated with the Jira Service Management application access.
Check the database for inconsistencies
Diagnostic Steps
Jira アプリケーションを再起動します。
Refresh the license cache by removing or replacing the existing JSD license with an evaluation license and switching back to the Commercial license.
Jira Administration >> Applications >> Versions & licenses: Verify the user group(s) that associate to the Jira Service Management application access.
Compare the results of the following SQL queries to identify the discrepancies:
Run the following SQL query to identify the active users that are holding up the license count:
SELECT DISTINCT u.lower_user_name, d.directory_name, m.parent_name FROM cwd_user u JOIN cwd_membership m ON u.id = m.child_id AND u.directory_id = m.directory_id JOIN licenserolesgroup lrg ON Lower(m.parent_name) = Lower(lrg.group_id) JOIN cwd_directory d ON m.directory_id = d.id WHERE d.active = '1' AND u.active = '1' AND license_role_name = 'jira-servicedesk';
Run the following SQL query to identify the users in the user group(s) that associate to the Jira Service Management application access:
SELECT * FROM cwd_user u JOIN cwd_membership m ON u.id = m.child_id WHERE m.lower_parent_name='jira-servicedesk-users';
Gather relevant data to troubleshoot the license issue:
Jira Administration >> System >> Logging and profiling: Click on 'Configure logging level for another package' and add com.atlassian.jira.application*package with DEBUG logging level.
With the debugging package, we expect the getUserCountCurrentValue and Count application users messages be logged and find out how the count is registered.
Jira Administration >> Applications >> Versions & licenses: Click on the '(xx agents) xx used' link.
Share the latest support.zip with Support.
Licensed users and users in group
There was a discrepancy between the users that hold the JSD license and users in the user group. The users were from external LDAP and problematic entries were relate to nested group.
To rectify this, perform the following steps:
Login with local Jira System Administrators
Jira Administration >> User management >> User Directories: Edit the problematic user directory, checked 'Enable Nested Groups' option. Save and Test.
Synchronise the user directory.
Jira Administration >> User management >> User Directories: Edit the problematic user directory, uncheck 'Enable Nested Groups' option. Save and Test.
Synchronise the user directory.
Jira Administration >> Applications >> Versions & licenses: Check if the license count is back to the correct number.