From a6e3c92c10def6c388a3fe6572fe1efbc07b020a Mon Sep 17 00:00:00 2001 From: Waleed Date: Tue, 2 Dec 2025 20:18:01 -0800 Subject: [PATCH] fix(jira): fixed incorrect dependsOn for jira project/issue subblcks (#2167) --- apps/sim/blocks/blocks/jira.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sim/blocks/blocks/jira.ts b/apps/sim/blocks/blocks/jira.ts index 532a3c1d7..54885e711 100644 --- a/apps/sim/blocks/blocks/jira.ts +++ b/apps/sim/blocks/blocks/jira.ts @@ -183,7 +183,7 @@ export const JiraBlock: BlockConfig = { type: 'short-input', required: true, placeholder: 'Enter new summary for the issue', - dependsOn: ['issueKey'], + dependsOn: ['projectId'], condition: { field: 'operation', value: ['update', 'write'] }, }, { @@ -191,7 +191,7 @@ export const JiraBlock: BlockConfig = { title: 'New Description', type: 'long-input', placeholder: 'Enter new description for the issue', - dependsOn: ['issueKey'], + dependsOn: ['projectId'], condition: { field: 'operation', value: ['update', 'write'] }, }, // Delete Issue fields