Skip to content
Merged
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
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())
.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