mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 23:17:59 -05:00
fix(jira): fixed incorrect dependsOn for jira project/issue subblcks (#2167)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user