From 67d2d11d91b88582156a579133ab9c9f009c8b24 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 20 Feb 2026 18:57:30 +0000 Subject: [PATCH] fix(jsm): add required: true to serviceDeskId for create_request operation The serviceDeskId field was missing the required attribute in the block configuration, which allowed users to leave it blank in the UI. The JSM API requires serviceDeskId for the create_request operation (and other operations like get_request_types, get_customers, etc.), causing runtime failures when not provided. This fix adds required: true to the serviceDeskId subBlock, matching the existing required: true on requestTypeId and enforcing the API requirement at the UI level. Co-authored-by: Emir Karabeg --- apps/sim/blocks/blocks/jira_service_management.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/sim/blocks/blocks/jira_service_management.ts b/apps/sim/blocks/blocks/jira_service_management.ts index 11cda385873..fca6ebbedfd 100644 --- a/apps/sim/blocks/blocks/jira_service_management.ts +++ b/apps/sim/blocks/blocks/jira_service_management.ts @@ -99,6 +99,7 @@ export const JiraServiceManagementBlock: BlockConfig = { id: 'serviceDeskId', title: 'Service Desk ID', type: 'short-input', + required: true, placeholder: 'Enter service desk ID', condition: { field: 'operation',