Skip to content

Commit fb2945e

Browse files
committed
Linear: Don't start tasks without an assignee
1 parent 52128e3 commit fb2945e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tools/linear/src/linear.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ type SyncState = {
3636
initialSync: boolean;
3737
};
3838

39-
4039
/**
4140
* Linear project management tool
4241
*
@@ -390,9 +389,9 @@ export class Linear extends Tool<Linear> implements ProjectTool {
390389
title: issue.title,
391390
created: issue.createdAt,
392391
author: authorContact,
393-
assignee: assigneeContact ?? null, // Explicitly set to null for unassigned issues
392+
assignee: assigneeContact ?? null,
394393
done: issue.completedAt ?? null,
395-
start: state?.type !== "started" ? null : undefined,
394+
start: assigneeContact ? undefined : null,
396395
meta: {
397396
linearId: issue.id,
398397
projectId,

0 commit comments

Comments
 (0)