Skip to content

Commit 7204b73

Browse files
committed
fix(blocks): add required constraint for serviceDeskId in JSM block
1 parent 68f44b8 commit 7204b73

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

apps/sim/blocks/blocks/jira_service_management.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,19 @@ export const JiraServiceManagementBlock: BlockConfig<JsmResponse> = {
100100
title: 'Service Desk ID',
101101
type: 'short-input',
102102
placeholder: 'Enter service desk ID',
103+
required: {
104+
field: 'operation',
105+
value: [
106+
'get_request_types',
107+
'create_request',
108+
'get_customers',
109+
'add_customer',
110+
'get_organizations',
111+
'add_organization',
112+
'get_queues',
113+
'get_request_type_fields',
114+
],
115+
},
103116
condition: {
104117
field: 'operation',
105118
value: [

0 commit comments

Comments
 (0)