chore: updated old and new value in issue archival (#1500)

This commit is contained in:
Bavisetti Narayan 2023-07-11 19:15:39 +05:30 committed by GitHub
parent 1403a536c1
commit 5773ff2afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -570,6 +570,8 @@ def track_archive_in(
verb="updated", verb="updated",
actor=actor, actor=actor,
field="archvied_at", field="archvied_at",
old_value="archive",
new_value="restore",
) )
) )

View File

@ -67,6 +67,8 @@ def archive_old_issues():
project=project, project=project,
workspace=project.workspace, workspace=project.workspace,
comment="Plane archived the issue", comment="Plane archived the issue",
new_value="archive",
old_value=""
) )
for issue in issues_to_update for issue in issues_to_update
], ],