From a38ca0f6f480ca4449e782d370ed1b5b54960456 Mon Sep 17 00:00:00 2001 From: DonHaul Date: Wed, 4 Sep 2024 15:47:40 +0200 Subject: [PATCH] workflows: updated data when creating ticket * ref cern-sis/issues-inspire/issues/564 --- .../plugins/hooks/backoffice/workflow_ticket_management_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backoffice-repo/workflows/plugins/hooks/backoffice/workflow_ticket_management_hook.py b/backoffice-repo/workflows/plugins/hooks/backoffice/workflow_ticket_management_hook.py index 0f1945885..338f6b24a 100644 --- a/backoffice-repo/workflows/plugins/hooks/backoffice/workflow_ticket_management_hook.py +++ b/backoffice-repo/workflows/plugins/hooks/backoffice/workflow_ticket_management_hook.py @@ -40,7 +40,7 @@ def create_ticket_entry( data = { "ticket_type": ticket_type, "ticket_id": ticket_id, - "workflow_id": workflow_id, + "workflow": workflow_id, } return self.run_with_advanced_retry( _retry_args=self.tenacity_retry_kwargs,