Feature #35991 » parent_issue_history.patch
| patch/app/models/issue.rb 2022-08-04 16:58:39.812452622 +0900 | ||
|---|---|---|
|
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
|
||
| ... | ... | |
|
end
|
||
|
end
|
||
|
p.clear_journal unless p.changed?
|
||
|
# ancestors will be recursively updated
|
||
|
p.save(:validate => false)
|
||
|
end
|
||
| patch/config/locales/en-GB.yml 2022-08-04 16:58:39.812452622 +0900 | ||
|---|---|---|
|
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:'
|
||
| patch/config/locales/en.yml 2022-08-04 16:58:39.812452622 +0900 | ||
|---|---|---|
|
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)."
|
||
| patch/config/locales/ja.yml 2022-08-04 16:58:39.812452622 +0900 | ||
|---|---|---|
|
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: 'このプロジェクトで使用するモジュールを選択してください:'
|
||
- « Previous
- 1
- 2
- Next »