From 5773ff2afdd065598de95a9cadc86642ef094587 Mon Sep 17 00:00:00 2001 From: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com> Date: Tue, 11 Jul 2023 19:15:39 +0530 Subject: [PATCH] chore: updated old and new value in issue archival (#1500) --- apiserver/plane/bgtasks/issue_activites_task.py | 2 ++ apiserver/plane/bgtasks/issue_automation_task.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apiserver/plane/bgtasks/issue_activites_task.py b/apiserver/plane/bgtasks/issue_activites_task.py index 26f617033..07de82a14 100644 --- a/apiserver/plane/bgtasks/issue_activites_task.py +++ b/apiserver/plane/bgtasks/issue_activites_task.py @@ -570,6 +570,8 @@ def track_archive_in( verb="updated", actor=actor, field="archvied_at", + old_value="archive", + new_value="restore", ) ) diff --git a/apiserver/plane/bgtasks/issue_automation_task.py b/apiserver/plane/bgtasks/issue_automation_task.py index c52994a43..0b64e546f 100644 --- a/apiserver/plane/bgtasks/issue_automation_task.py +++ b/apiserver/plane/bgtasks/issue_automation_task.py @@ -67,6 +67,8 @@ def archive_old_issues(): project=project, workspace=project.workspace, comment="Plane archived the issue", + new_value="archive", + old_value="" ) for issue in issues_to_update ],