Issues with Jira Service Management Customer Portal Not Loading

お困りですか?

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

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

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

*Fisheye および Crucible は除く

要約

This article addresses a specific issue where the Jira Service Management customer portal fails to load or the portal page becomes inaccessible. This can prevent users from selecting a project to raise a ticket or from accessing previously created requests.

環境

Jira Service Management (Data Center) on any version from 4.0.0.

診断

When the customer portal fails to load, the logs might show an error related to the failure in processing a request to /rest/servicedesk/1/customer/models. The specific error message may indicate an issue with handling JSON data or issue type mappings.

Example log entry:

java.lang.NullPointerException: Cannot invoke 
"com.atlassian.jira.issue.issuetype.IssueType.getSequence()" 
because "issueType1" is null

Additionally, the problem may manifest when issues in a specific project are assigned to users, affecting their portal access.



原因

This issue may be caused by missing or incorrect issue type mappings in the database. Specifically, the issue type mappings referenced in the issuetypescreenschemeentity table might be missing corresponding entries in the issuetype table.

ソリューション

To resolve the issue, follow these steps:

1. Diagnosis:

Run the following SQL query to check for invalid issue type mappings:

select * from issuetypescreenschemeentity where issuetype not in (select id from issuetype);

If this query returns results, it indicates that there are issue types referenced in the issuetypescreenschemeentity table that do not exist in the issuetype table.

2. Resolution:

To remove the invalid mappings, execute the following SQL query:

delete from issuetypescreenschemeentity where issuetype not in (select id from issuetype);

(i) Important: Always back up your database before performing any modifications. It is recommended to test these changes in a staging environment first.

3. Verification

Restart Jira and verify if the portal is loading correctly and if users can access their previously created requests.


参考

For a related issue involving issue type mappings, refer to our existing KB article: Jira throws 'There are no issue type mappings for this scheme. This should never occur as the default entry should always exist!' message

最終更新日 2024 年 9 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.