[fs2zammad] sort RT tickets before import
This commit is contained in:
parent
ac8807167c
commit
b1fbe9d4ab
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ os.makedirs("failed", exist_ok=True)
|
||||||
ticket_ids = os.listdir("tickets/")
|
ticket_ids = os.listdir("tickets/")
|
||||||
print(f"Found {len(ticket_ids)} tickets on filesystem.")
|
print(f"Found {len(ticket_ids)} tickets on filesystem.")
|
||||||
|
|
||||||
|
ticket_ids.sort()
|
||||||
for id in ticket_ids:
|
for id in ticket_ids:
|
||||||
try:
|
try:
|
||||||
create_zammad_ticket(id, zammad, h2t, 3)
|
create_zammad_ticket(id, zammad, h2t, 3)
|
||||||
|
|
Loading…
Reference in a new issue