chore: updated old and new value in issue archival (#1500)
This commit is contained in:
parent
1403a536c1
commit
5773ff2afd
2 changed files with 4 additions and 0 deletions
|
|
@ -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",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue