From e60e5157de91732eeecb25547ae784d90e13fe20 Mon Sep 17 00:00:00 2001 From: waleed Date: Mon, 9 Feb 2026 16:35:00 -0800 Subject: [PATCH] finished jira --- apps/docs/content/docs/en/tools/jira.mdx | 1 + apps/sim/blocks/blocks/jira_service_management.ts | 2 +- apps/sim/tools/jira/retrieve.ts | 1 + apps/sim/tools/jira/types.ts | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/docs/content/docs/en/tools/jira.mdx b/apps/docs/content/docs/en/tools/jira.mdx index 605496d58..04b370788 100644 --- a/apps/docs/content/docs/en/tools/jira.mdx +++ b/apps/docs/content/docs/en/tools/jira.mdx @@ -226,6 +226,7 @@ Retrieve detailed information about a specific Jira issue | ↳ `avatarUrl` | string | URL to the user avatar \(48x48\) | | ↳ `timeZone` | string | User timezone | | ↳ `created` | string | ISO 8601 timestamp when the attachment was created | +| `issueKey` | string | Issue key \(e.g., PROJ-123\) | ### `jira_update` diff --git a/apps/sim/blocks/blocks/jira_service_management.ts b/apps/sim/blocks/blocks/jira_service_management.ts index d87a54eec..cbb0c3b7e 100644 --- a/apps/sim/blocks/blocks/jira_service_management.ts +++ b/apps/sim/blocks/blocks/jira_service_management.ts @@ -331,7 +331,7 @@ Return ONLY the comment text - no explanations.`, { label: 'Open', id: 'OPEN_REQUESTS' }, { label: 'Closed', id: 'CLOSED_REQUESTS' }, ], - value: () => 'ALL', + value: () => 'ALL_REQUESTS', condition: { field: 'operation', value: 'get_requests' }, }, { diff --git a/apps/sim/tools/jira/retrieve.ts b/apps/sim/tools/jira/retrieve.ts index 09ecf17c9..6a8780aea 100644 --- a/apps/sim/tools/jira/retrieve.ts +++ b/apps/sim/tools/jira/retrieve.ts @@ -13,6 +13,7 @@ function transformIssueData(data: any) { const fields = data?.fields ?? {} return { id: data?.id ?? '', + issueKey: data?.key ?? '', key: data?.key ?? '', self: data?.self ?? '', summary: fields.summary ?? '', diff --git a/apps/sim/tools/jira/types.ts b/apps/sim/tools/jira/types.ts index 99deab503..3e5798494 100644 --- a/apps/sim/tools/jira/types.ts +++ b/apps/sim/tools/jira/types.ts @@ -615,6 +615,7 @@ export const ISSUE_ITEM_PROPERTIES = { }, optional: true, }, + issueKey: { type: 'string', description: 'Issue key (e.g., PROJ-123)' }, } as const satisfies Record /**