Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/sim/blocks/blocks/jira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,6 @@ export const JiraBlock: BlockConfig<JiraResponse> = {
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)' },
Expand Down
13 changes: 4 additions & 9 deletions apps/sim/tools/jira/add_comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,9 @@ export const jiraAddCommentTool: ToolConfig<JiraAddCommentParams, JiraAddComment
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Comment details with timestamp, issue key, comment ID, body, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key the comment was added to' },
commentId: { type: 'string', description: 'Created comment ID' },
body: { type: 'string', description: 'Comment text content' },
},
}
12 changes: 3 additions & 9 deletions apps/sim/tools/jira/add_watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,8 @@ export const jiraAddWatcherTool: ToolConfig<JiraAddWatcherParams, JiraAddWatcher
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Watcher details with timestamp, issue key, watcher account ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
watcherAccountId: { type: 'string', description: 'Added watcher account ID' },
},
}
13 changes: 4 additions & 9 deletions apps/sim/tools/jira/add_worklog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,9 @@ export const jiraAddWorklogTool: ToolConfig<JiraAddWorklogParams, JiraAddWorklog
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Worklog details with timestamp, issue key, worklog ID, time spent in seconds, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key the worklog was added to' },
worklogId: { type: 'string', description: 'Created worklog ID' },
timeSpentSeconds: { type: 'number', description: 'Time spent in seconds' },
},
}
11 changes: 3 additions & 8 deletions apps/sim/tools/jira/assign_issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,8 @@ export const jiraAssignIssueTool: ToolConfig<JiraAssignIssueParams, JiraAssignIs
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Assignment details with timestamp, issue key, assignee ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key that was assigned' },
assigneeId: { type: 'string', description: 'Account ID of the assignee' },
},
}
9 changes: 3 additions & 6 deletions apps/sim/tools/jira/bulk_read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,10 @@ export const jiraBulkRetrieveTool: ToolConfig<JiraRetrieveBulkParams, JiraRetrie
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
issues: {
type: 'array',
description: 'Array of Jira issues with summary, description, created and updated timestamps',
description:
'Array of Jira issues with ts, summary, description, created, and updated timestamps',
},
},
}
14 changes: 5 additions & 9 deletions apps/sim/tools/jira/create_issue_link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,10 @@ export const jiraCreateIssueLinkTool: ToolConfig<
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Issue link details with timestamp, inward issue key, outward issue key, link type, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
inwardIssue: { type: 'string', description: 'Inward issue key' },
outwardIssue: { type: 'string', description: 'Outward issue key' },
linkType: { type: 'string', description: 'Type of issue link' },
linkId: { type: 'string', description: 'Created link ID' },
},
}
10 changes: 2 additions & 8 deletions apps/sim/tools/jira/delete_attachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,7 @@ export const jiraDeleteAttachmentTool: ToolConfig<
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Deletion details with timestamp, attachment ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
attachmentId: { type: 'string', description: 'Deleted attachment ID' },
},
}
11 changes: 3 additions & 8 deletions apps/sim/tools/jira/delete_comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,8 @@ export const jiraDeleteCommentTool: ToolConfig<JiraDeleteCommentParams, JiraDele
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Deletion details with timestamp, issue key, comment ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
commentId: { type: 'string', description: 'Deleted comment ID' },
},
}
10 changes: 2 additions & 8 deletions apps/sim/tools/jira/delete_issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,7 @@ export const jiraDeleteIssueTool: ToolConfig<JiraDeleteIssueParams, JiraDeleteIs
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Deleted issue details with timestamp, issue key, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Deleted issue key' },
},
}
10 changes: 2 additions & 8 deletions apps/sim/tools/jira/delete_issue_link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,7 @@ export const jiraDeleteIssueLinkTool: ToolConfig<
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Deletion details with timestamp, link ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
linkId: { type: 'string', description: 'Deleted link ID' },
},
}
11 changes: 3 additions & 8 deletions apps/sim/tools/jira/delete_worklog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,8 @@ export const jiraDeleteWorklogTool: ToolConfig<JiraDeleteWorklogParams, JiraDele
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Deletion details with timestamp, issue key, worklog ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
worklogId: { type: 'string', description: 'Deleted worklog ID' },
},
}
12 changes: 5 additions & 7 deletions apps/sim/tools/jira/get_attachments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,11 @@ export const jiraGetAttachmentsTool: ToolConfig<
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Attachments data with timestamp, issue key, and array of attachments',
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
attachments: {
type: 'array',
description: 'Array of attachments with id, filename, size, mimeType, created, author',
},
},
}
13 changes: 6 additions & 7 deletions apps/sim/tools/jira/get_comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,12 @@ export const jiraGetCommentsTool: ToolConfig<JiraGetCommentsParams, JiraGetComme
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Comments data with timestamp, issue key, total count, and array of comments',
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
total: { type: 'number', description: 'Total number of comments' },
comments: {
type: 'array',
description: 'Array of comments with id, author, body, created, updated',
},
},
}
14 changes: 7 additions & 7 deletions apps/sim/tools/jira/get_worklogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ export const jiraGetWorklogsTool: ToolConfig<JiraGetWorklogsParams, JiraGetWorkl
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description: 'Worklogs data with timestamp, issue key, total count, and array of worklogs',
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
total: { type: 'number', description: 'Total number of worklogs' },
worklogs: {
type: 'array',
description:
'Array of worklogs with id, author, timeSpentSeconds, timeSpent, comment, created, updated, started',
},
},
}
12 changes: 3 additions & 9 deletions apps/sim/tools/jira/remove_watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,8 @@ export const jiraRemoveWatcherTool: ToolConfig<JiraRemoveWatcherParams, JiraRemo
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Removal details with timestamp, issue key, watcher account ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
watcherAccountId: { type: 'string', description: 'Removed watcher account ID' },
},
}
16 changes: 7 additions & 9 deletions apps/sim/tools/jira/retrieve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,12 @@ export const jiraRetrieveTool: ToolConfig<JiraRetrieveParams, JiraRetrieveRespon
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Jira issue details with issue key, summary, description, created and updated timestamps',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key (e.g., PROJ-123)' },
summary: { type: 'string', description: 'Issue summary' },
description: { type: 'json', description: 'Issue description content' },
created: { type: 'string', description: 'Issue creation timestamp' },
updated: { type: 'string', description: 'Issue last updated timestamp' },
issue: { type: 'json', description: 'Complete issue object with all fields' },
},
}
15 changes: 7 additions & 8 deletions apps/sim/tools/jira/search_issues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,13 @@ export const jiraSearchIssuesTool: ToolConfig<JiraSearchIssuesParams, JiraSearch
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Search results with timestamp, total count, pagination details, and array of matching issues',
ts: { type: 'string', description: 'Timestamp of the operation' },
total: { type: 'number', description: 'Total number of matching issues' },
startAt: { type: 'number', description: 'Pagination start index' },
maxResults: { type: 'number', description: 'Maximum results per page' },
issues: {
type: 'array',
description: 'Array of matching issues with key, summary, status, assignee, created, updated',
},
},
}
12 changes: 3 additions & 9 deletions apps/sim/tools/jira/transition_issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,8 @@ export const jiraTransitionIssueTool: ToolConfig<
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Transition details with timestamp, issue key, transition ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key that was transitioned' },
transitionId: { type: 'string', description: 'Applied transition ID' },
},
}
12 changes: 3 additions & 9 deletions apps/sim/tools/jira/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,8 @@ export const jiraUpdateTool: ToolConfig<JiraUpdateParams, JiraUpdateResponse> =
},

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' },
},
}
13 changes: 4 additions & 9 deletions apps/sim/tools/jira/update_comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,9 @@ export const jiraUpdateCommentTool: ToolConfig<JiraUpdateCommentParams, JiraUpda
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Updated comment details with timestamp, issue key, comment ID, body text, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
commentId: { type: 'string', description: 'Updated comment ID' },
body: { type: 'string', description: 'Updated comment text' },
},
}
12 changes: 3 additions & 9 deletions apps/sim/tools/jira/update_worklog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,8 @@ export const jiraUpdateWorklogTool: ToolConfig<JiraUpdateWorklogParams, JiraUpda
},

outputs: {
success: {
type: 'boolean',
description: 'Operation success status',
},
output: {
type: 'object',
description:
'Worklog update details with timestamp, issue key, worklog ID, and success status',
},
ts: { type: 'string', description: 'Timestamp of the operation' },
issueKey: { type: 'string', description: 'Issue key' },
worklogId: { type: 'string', description: 'Updated worklog ID' },
},
}
Loading
Loading