Skip to content

Commit

Permalink
Merge pull request #52 from kunai-consulting/linear-soc2
Browse files Browse the repository at this point in the history
make in progress
  • Loading branch information
thejackshelton-kunaico authored Aug 26, 2024
2 parents 65caeba + 8b3ff6e commit 630019d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/scripts/update-linear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,21 @@ async function createLinearReleaseIssue() {
return;
}

// user that created the API key
// user that created the API
const me = await linearClient.viewer;

const inProgress =
(await team.states()).nodes.find((state) => state.position === 3)?.id ??
undefined;

const issuePayload = await linearClient.createIssue({
teamId: team.id,
title: issueTitle,
description: issueDescription,
projectId: project.id,
priority: 1,
assigneeId: me.id,
stateId: inProgress,
});

const issueId = (await issuePayload.issue)?.id;
Expand Down

0 comments on commit 630019d

Please sign in to comment.