Skip to content
Merged
Changes from 1 commit
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
Next Next commit
feat(tools): add fields parameter to Jira search block
Expose the Jira REST API `fields` parameter on the search operation,
allowing users to specify which fields to return per issue. This reduces
response payload size by 10-15x, preventing 10MB workflow state limit
errors for users with high ticket volume.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
  • Loading branch information
waleedlatif1 and claude committed Apr 10, 2026
commit 3d17015c36050ed4a427d3d9dfd9879987f3c3a1
17 changes: 17 additions & 0 deletions apps/sim/blocks/blocks/jira.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,13 @@ Return ONLY the JQL query - no explanations or markdown formatting.`,
placeholder: 'Maximum results to return (default: 50)',
condition: { field: 'operation', value: ['search', 'get_comments', 'get_worklogs'] },
},
{
id: 'fields',
title: 'Fields',
type: 'short-input',
placeholder: 'Comma-separated fields to return (e.g., key,summary,status)',
condition: { field: 'operation', value: 'search' },
},
// Comment fields
{
id: 'commentBody',
Expand Down Expand Up @@ -922,6 +929,12 @@ Return ONLY the comment text - no explanations.`,
jql: params.jql,
nextPageToken: params.nextPageToken || undefined,
maxResults: params.maxResults ? Number.parseInt(params.maxResults) : undefined,
fields: params.fields
? params.fields
.split(',')
.map((f: string) => f.trim())
Comment thread
waleedlatif1 marked this conversation as resolved.
.filter(Boolean)
: undefined,
}
}
case 'add_comment': {
Expand Down Expand Up @@ -1114,6 +1127,10 @@ Return ONLY the comment text - no explanations.`,
startAt: { type: 'string', description: 'Pagination start index' },
jql: { type: 'string', description: 'JQL (Jira Query Language) search query' },
maxResults: { type: 'string', description: 'Maximum number of results to return' },
fields: {
type: 'string',
description: 'Comma-separated field names to return (e.g., key,summary,status)',
},
// Comment operation inputs
commentBody: { type: 'string', description: 'Text content for comment operations' },
commentId: { type: 'string', description: 'Comment ID for update/delete operations' },
Expand Down
Loading