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

Method createIssue

integrations/linear/src/index.ts:822–841  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: L.IssueCreateInput & { title: string }
  )

Source from the content-addressed store, hash-verified

820 }
821
822 createIssue(
823 key: IntegrationTaskKey,
824 params: L.IssueCreateInput & { title: string }
825 ): LinearReturnType<IssuePayload, "issue"> {
826 return this.runTask(
827 key,
828 async (client) => {
829 const payload = await client.createIssue(params);
830 return serializeLinearOutput(await payload.issue);
831 },
832 {
833 name: "Create Issue",
834 params,
835 properties: [
836 { label: "Team ID", text: params.teamId },
837 { label: "Title", text: params.title },
838 ],
839 }
840 );
841 }
842
843 deleteIssue(
844 key: IntegrationTaskKey,

Callers 2

github.tsFile · 0.80
linear.tsFile · 0.80

Calls 2

runTaskMethod · 0.95
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected