From b1fbe9d4abdb53c70190e27db9d33aba0e32ddb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Tue, 7 May 2024 13:59:59 +0200 Subject: [PATCH] [fs2zammad] sort RT tickets before import --- fs2zammad | 1 + 1 file changed, 1 insertion(+) diff --git a/fs2zammad b/fs2zammad index 72adaca..a7d1639 100755 --- a/fs2zammad +++ b/fs2zammad @@ -272,6 +272,7 @@ os.makedirs("failed", exist_ok=True) ticket_ids = os.listdir("tickets/") print(f"Found {len(ticket_ids)} tickets on filesystem.") +ticket_ids.sort() for id in ticket_ids: try: create_zammad_ticket(id, zammad, h2t, 3)