(
key: IntegrationTaskKey,
params: {
issueId: string;
jiraIssueId: string;
}
)
| 375 | } |
| 376 | |
| 377 | attachmentLinkJiraIssue( |
| 378 | key: IntegrationTaskKey, |
| 379 | params: { |
| 380 | issueId: string; |
| 381 | jiraIssueId: string; |
| 382 | } |
| 383 | ): LinearReturnType<AttachmentPayload, "attachment"> { |
| 384 | return this.runTask( |
| 385 | key, |
| 386 | async (client) => { |
| 387 | const payload = await client.attachmentLinkJiraIssue(params.issueId, params.jiraIssueId); |
| 388 | return serializeLinearOutput(await payload.attachment); |
| 389 | }, |
| 390 | { |
| 391 | name: "Link Jira Issue", |
| 392 | params, |
| 393 | properties: [ |
| 394 | { label: "Issue ID", text: params.issueId }, |
| 395 | { label: "Jira Issue ID", text: params.jiraIssueId }, |
| 396 | ], |
| 397 | } |
| 398 | ); |
| 399 | } |
| 400 | |
| 401 | attachmentLinkSlack( |
| 402 | key: IntegrationTaskKey, |
nothing calls this directly
no test coverage detected