fix(jira): fixed incorrect dependsOn for jira project/issue subblcks (#2167)

This commit is contained in:
Waleed
2025-12-02 20:18:01 -08:00
committed by GitHub
parent 9670d96eca
commit a6e3c92c10

View File

@@ -183,7 +183,7 @@ export const JiraBlock: BlockConfig<JiraResponse> = {
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<JiraResponse> = {
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