diff --git a/gso/workflows/router/create_router.py b/gso/workflows/router/create_router.py index 3173145c1d28bd0eaafd538e1c7b8f1102d8942d..dc33293d257b623141d22a1f05dcf5730b5a7ac8 100644 --- a/gso/workflows/router/create_router.py +++ b/gso/workflows/router/create_router.py @@ -219,9 +219,11 @@ def prompt_insert_in_radius(subscription: RouterInactive) -> FormGenerator: @step("Create a new SharePoint checklist") -def create_new_sharepoint_checklist(subscription: RouterProvisioning) -> State: +def create_new_sharepoint_checklist(subscription: RouterProvisioning, tt_number: str) -> State: """Create a new checklist in SharePoint for approving this router.""" - new_list_item_url = SharePointClient().add_list_item("p_router", {"Title": subscription.router.router_fqdn}) + new_list_item_url = SharePointClient().add_list_item( + "p_router", {"Title": subscription.router.router_fqdn, "TT_NUMBER": tt_number} + ) return {"checklist_url": new_list_item_url}