diff -ur original/app/models/issue.rb patch/app/models/issue.rb --- original/app/models/issue.rb 2022-08-04 17:12:53.169477937 +0900 +++ patch/app/models/issue.rb 2022-08-04 16:58:39.812452622 +0900 @@ -1817,6 +1817,11 @@ def recalculate_attributes_for(issue_id) if issue_id && p = Issue.find_by_id(issue_id) + + p.init_journal(User.current, + ll(Setting.default_language, :text_status_changed_by_child_issue_change, self.id)) + p.current_journal.notify = false + if p.priority_derived? # priority = highest priority of open children # priority is left unchanged if all children are closed and there's no default priority defined @@ -1863,6 +1868,8 @@ end end + p.clear_journal unless p.changed? + # ancestors will be recursively updated p.save(:validate => false) end diff -ur original/config/locales/en-GB.yml patch/config/locales/en-GB.yml --- original/config/locales/en-GB.yml 2022-08-04 17:12:54.208477968 +0900 +++ patch/config/locales/en-GB.yml 2022-08-04 16:58:39.812452622 +0900 @@ -875,6 +875,7 @@ text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded." text_load_default_configuration: Load the default configuration text_status_changed_by_changeset: "Applied in changeset %{value}." + text_status_changed_by_child_issue_change: "Applied by child #%{value} change." text_time_logged_by_changeset: "Applied in changeset %{value}." text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' text_select_project_modules: 'Select modules to enable for this project:' diff -ur original/config/locales/en.yml patch/config/locales/en.yml --- original/config/locales/en.yml 2022-08-04 17:12:54.208477968 +0900 +++ patch/config/locales/en.yml 2022-08-04 16:58:39.812452622 +0900 @@ -1240,6 +1240,7 @@ text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded." text_load_default_configuration: Load the default configuration text_status_changed_by_changeset: "Applied in changeset %{value}." + text_status_changed_by_child_issue_change: "Applied by child #%{value} change." text_time_logged_by_changeset: "Applied in changeset %{value}." text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." diff -ur original/config/locales/ja.yml patch/config/locales/ja.yml --- original/config/locales/ja.yml 2022-08-04 17:12:54.214477968 +0900 +++ patch/config/locales/ja.yml 2022-08-04 16:58:39.812452622 +0900 @@ -911,6 +911,7 @@ text_no_configuration_data: "ロール、トラッカー、チケットのステータス、ワークフローがまだ設定されていません。\nデフォルト設定のロードを強くお勧めします。ロードした後、それを修正することができます。" text_load_default_configuration: デフォルト設定をロード text_status_changed_by_changeset: "更新履歴 %{value} で適用されました。" + text_status_changed_by_child_issue_change: "子チケット #%{value} によって適用されました。" text_time_logged_by_changeset: "更新履歴 %{value} で適用されました。" text_issues_destroy_confirmation: '本当に選択したチケットを削除しますか?' text_select_project_modules: 'このプロジェクトで使用するモジュールを選択してください:'