Skip to content

Commit e60e515

Browse files
committed
finished jira
1 parent cc7c23d commit e60e515

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

apps/docs/content/docs/en/tools/jira.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ Retrieve detailed information about a specific Jira issue
226226
|`avatarUrl` | string | URL to the user avatar \(48x48\) |
227227
|`timeZone` | string | User timezone |
228228
|`created` | string | ISO 8601 timestamp when the attachment was created |
229+
| `issueKey` | string | Issue key \(e.g., PROJ-123\) |
229230

230231
### `jira_update`
231232

apps/sim/blocks/blocks/jira_service_management.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Return ONLY the comment text - no explanations.`,
331331
{ label: 'Open', id: 'OPEN_REQUESTS' },
332332
{ label: 'Closed', id: 'CLOSED_REQUESTS' },
333333
],
334-
value: () => 'ALL',
334+
value: () => 'ALL_REQUESTS',
335335
condition: { field: 'operation', value: 'get_requests' },
336336
},
337337
{

apps/sim/tools/jira/retrieve.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function transformIssueData(data: any) {
1313
const fields = data?.fields ?? {}
1414
return {
1515
id: data?.id ?? '',
16+
issueKey: data?.key ?? '',
1617
key: data?.key ?? '',
1718
self: data?.self ?? '',
1819
summary: fields.summary ?? '',

apps/sim/tools/jira/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ export const ISSUE_ITEM_PROPERTIES = {
615615
},
616616
optional: true,
617617
},
618+
issueKey: { type: 'string', description: 'Issue key (e.g., PROJ-123)' },
618619
} as const satisfies Record<string, OutputProperty>
619620

620621
/**

0 commit comments

Comments
 (0)