スケジューラー管理のエラー "com.atlassian.jira.issue.subscription.DefaultSubscriptionManager:XXXX"

お困りですか?

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

コミュニティに質問


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

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.

*Fisheye および Crucible は除く


問題

Under Administration Setting > System > SYSTEM SUPPORT > Scheduler details we see an error in some of the schedulers, after clicking Show more we observe an error like "com.atlassian.jira.issue.subscription.DefaultSubscriptionManager:XXXX"

診断

Diagnostic Steps

  • Run the below query on the database to know the owner and name of the filter subscription. Once we have that we can fo to the subscription and verify if the filter has an issue or not. 

    select * from filtersubscription where ID=XXXX;

    (info) Replace XXXX with the SUBSCRIPTION_ID we see in the error like in this case 10071


  • If the above query gives a blank output then to double check please run the below query to check all the subscription id's in the DB and verify all the id's shown in the error are not present in JIRA. 

    select * from filtersubscription;

    (info) If it is not present in the database then we can follow the steps in Resolution. 

原因

We face this error when the subscription ID is not present in JIRA database but JIRA is still try read it. Due to this, it shows an error in the Scheduler Administration section. 

ソリューション

We have to remove the Scheduler entry (for the invalid subscription) from JIRA Database. 

  • To verify the entry
select * from clusteredjob where JOB_ID like '%XXXX%';

(info) For each error replace XXXX with the entry we see in the error "com.atlassian.jira.issue.subscription.DefaultSubscriptionManager:10071" .

  • To delete the entries
DELETE from clusteredjob where JOB_ID like '%XXXX%' and ID = ZZZZ;

(info) Replace ZZZZ with the ID we get from the first query.


NOTE

  • Please always take backups of JIRA DB using the native tool before proceeding with any changes.


最終更新日 2018 年 11 月 14 日

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

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