Skip to content

Commit 67d2d11

Browse files
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 <emir-karabeg@users.noreply.github.com>
1 parent 68f44b8 commit 67d2d11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/sim/blocks/blocks/jira_service_management.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const JiraServiceManagementBlock: BlockConfig<JsmResponse> = {
9999
id: 'serviceDeskId',
100100
title: 'Service Desk ID',
101101
type: 'short-input',
102+
required: true,
102103
placeholder: 'Enter service desk ID',
103104
condition: {
104105
field: 'operation',

0 commit comments

Comments
 (0)