Activity stream is empty when filtered by username
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
症状
When using "Global filter" on Activity Stream and filtering by a username, no results are being displayed. There are no errors in the logs.
環境
Jira Data Center on any version
診断
Check the username for the user, if the username is in mixed case or contains an underscore (e.g.: "john_doe"), then this KB article is for you.
原因
JIRA has problems with usernames with mixed cases and underscores. This is the root cause of the problem here. You might want to try to reproduce this problem with a username with all lowercases to confirm this.
ソリューション
- You need to change the username in the LDAP or Crowd and then synchronize the directory in JIRA so that the username becomes lowercase.
If you are using Delegated Authentication method :
- Since there is no synchronization in Delegated LDAP directories, you would need to hack the database to make the changes in the database. Please contact Support for this.
As a long term solution, I would suggest using Crowd in between JIRA and LDAP. Crowd has a built in functionality to handle the case related problems with username. You might be interested to review this article with regards to this topic.