MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / attachmentLinkJiraIssue

Method attachmentLinkJiraIssue

integrations/linear/src/index.ts:377–399  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: {
      issueId: string;
      jiraIssueId: string;
    }
  )

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 2

runTaskMethod · 0.95
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected