Skip to content

Commit

Permalink
tickets_migrate should include case id
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Dec 4, 2024
1 parent 96b766d commit 7645dbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions casepro/cases/management/commands/tickets_migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def handle(self, org_id, *args, **options):
for kase in org.cases.prefetch_related("contact", "assignee", "user_assignee").order_by("id"):
cases.append(
{
"id": kase.id,
"opened_on": kase.opened_on.isoformat(),
"closed_on": kase.closed_on.isoformat() if kase.closed_on else None,
"summary": kase.summary,
Expand Down

0 comments on commit 7645dbb

Please sign in to comment.