From 5d3b2169225b49bbd3a9fda7d45267492cddb050 Mon Sep 17 00:00:00 2001 From: aadamgough Date: Sun, 14 Dec 2025 21:06:28 -0800 Subject: [PATCH] fixed jira output --- apps/sim/blocks/blocks/jira.ts | 1 - apps/sim/tools/jira/add_comment.ts | 13 ++++--------- apps/sim/tools/jira/add_watcher.ts | 12 +++--------- apps/sim/tools/jira/add_worklog.ts | 13 ++++--------- apps/sim/tools/jira/assign_issue.ts | 11 +++-------- apps/sim/tools/jira/bulk_read.ts | 9 +++------ apps/sim/tools/jira/create_issue_link.ts | 14 +++++--------- apps/sim/tools/jira/delete_attachment.ts | 10 ++-------- apps/sim/tools/jira/delete_comment.ts | 11 +++-------- apps/sim/tools/jira/delete_issue.ts | 10 ++-------- apps/sim/tools/jira/delete_issue_link.ts | 10 ++-------- apps/sim/tools/jira/delete_worklog.ts | 11 +++-------- apps/sim/tools/jira/get_attachments.ts | 12 +++++------- apps/sim/tools/jira/get_comments.ts | 13 ++++++------- apps/sim/tools/jira/get_worklogs.ts | 14 +++++++------- apps/sim/tools/jira/remove_watcher.ts | 12 +++--------- apps/sim/tools/jira/retrieve.ts | 16 +++++++--------- apps/sim/tools/jira/search_issues.ts | 15 +++++++-------- apps/sim/tools/jira/transition_issue.ts | 12 +++--------- apps/sim/tools/jira/update.ts | 12 +++--------- apps/sim/tools/jira/update_comment.ts | 13 ++++--------- apps/sim/tools/jira/update_worklog.ts | 12 +++--------- apps/sim/tools/jira/write.ts | 13 ++++--------- 23 files changed, 86 insertions(+), 183 deletions(-) diff --git a/apps/sim/blocks/blocks/jira.ts b/apps/sim/blocks/blocks/jira.ts index 54885e7111..98cd7166b9 100644 --- a/apps/sim/blocks/blocks/jira.ts +++ b/apps/sim/blocks/blocks/jira.ts @@ -762,7 +762,6 @@ export const JiraBlock: BlockConfig = { outputs: { // Common outputs across all Jira operations ts: { type: 'string', description: 'Timestamp of the operation' }, - success: { type: 'boolean', description: 'Whether the operation was successful' }, // jira_retrieve (read) outputs issueKey: { type: 'string', description: 'Issue key (e.g., PROJ-123)' }, diff --git a/apps/sim/tools/jira/add_comment.ts b/apps/sim/tools/jira/add_comment.ts index 94d9903562..9d87cc8e52 100644 --- a/apps/sim/tools/jira/add_comment.ts +++ b/apps/sim/tools/jira/add_comment.ts @@ -163,14 +163,9 @@ export const jiraAddCommentTool: ToolConfig = }, outputs: { - success: { - type: 'boolean', - description: 'Operation success status', - }, - output: { - type: 'object', - description: - 'Updated Jira issue details with timestamp, issue key, summary, and success status', - }, + ts: { type: 'string', description: 'Timestamp of the operation' }, + issueKey: { type: 'string', description: 'Updated issue key (e.g., PROJ-123)' }, + summary: { type: 'string', description: 'Issue summary after update' }, }, } diff --git a/apps/sim/tools/jira/update_comment.ts b/apps/sim/tools/jira/update_comment.ts index 0d00d35787..b469e24f07 100644 --- a/apps/sim/tools/jira/update_comment.ts +++ b/apps/sim/tools/jira/update_comment.ts @@ -170,14 +170,9 @@ export const jiraUpdateCommentTool: ToolConfig = { }, outputs: { - success: { - type: 'boolean', - description: 'Operation success status', - }, - output: { - type: 'object', - description: - 'Created Jira issue details with timestamp, issue key, summary, success status, and URL', - }, + ts: { type: 'string', description: 'Timestamp of the operation' }, + issueKey: { type: 'string', description: 'Created issue key (e.g., PROJ-123)' }, + summary: { type: 'string', description: 'Issue summary' }, + url: { type: 'string', description: 'URL to the created issue' }, }, }