How to Update all User Profiles for the Notify Me option

お困りですか?

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

コミュニティに質問

症状

Looking for a way to change all user profiles to change their notification settings at once.

診断

By default all users start with preferences to not be notified by their own updates.  Sample profile screenshot:

回避策

As of JIRA 5.2.2, the Autowatch functionality can now be disabled, as tracked in JRA-28268 - Getting issue details... STATUS . Please upgrade to the latest JIRA version to pick up this functionality. Alternatively, the below SQL update may be used:

データベースの変更を行う場合は必ず事前にバックアップを取得してください。

  • The tables you'll compare are: external_entities, propertyentry, propertystring
  • Here is a sample SQL query that will pull the information you need to write a SQL update:
written in postgres
select x.name,e.property_key,n.propertyvalue from propertyentry e join propertynumber n on e.id=n.id join external_entities x on e.entity_id = x.id where e.property_key = 'user.notify.own.changes';

(info) This SQL may need to be modified depending on the DBMS that is used by JIRA.

最終更新日: 2016 年 2 月 23 日

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

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