@@ -253,10 +253,10 @@ export const JiraBlock: BlockConfig<JiraResponse> = {
253253 condition : { field : 'operation' , value : 'write' } ,
254254 } ,
255255 {
256- id : 'teamUuid ' ,
257- title : 'Team UUID ' ,
256+ id : 'customFieldValue ' ,
257+ title : 'Custom Field Value ' ,
258258 type : 'short-input' ,
259- placeholder : 'e.g., b3aa307a-76ea-462d-b6f1-a6e89ce9858a ' ,
259+ placeholder : 'Value for the custom field ' ,
260260 dependsOn : [ 'projectId' ] ,
261261 condition : { field : 'operation' , value : 'write' } ,
262262 } ,
@@ -561,6 +561,8 @@ export const JiraBlock: BlockConfig<JiraResponse> = {
561561 . filter ( ( item ) => item !== '' )
562562 }
563563
564+ const customFieldValue = params . customFieldValue || undefined
565+
564566 const writeParams = {
565567 projectId : effectiveProjectId ,
566568 summary : params . summary || '' ,
@@ -574,7 +576,7 @@ export const JiraBlock: BlockConfig<JiraResponse> = {
574576 reporter : params . reporter || undefined ,
575577 environment : params . environment || undefined ,
576578 customFieldId : params . customFieldId || undefined ,
577- customFieldValue : params . customFieldValue || undefined ,
579+ customFieldValue : customFieldValue ,
578580 }
579581 return {
580582 ...baseParams ,
0 commit comments