(issue: IssueRecord, workspaceTag?: string)
| 237 | /** A missing assignee in a workspace-owned issue means "this workspace owns it". |
| 238 | * Keep an explicit `assignee: unassigned` as unassigned so human edits survive. */ |
| 239 | export function issueAssigneeForWorkspace(issue: IssueRecord, workspaceTag?: string): string { |
| 240 | return issue.assigneeDefaulted && workspaceTag ? `ws:${workspaceTag}` : issue.assignee |
| 241 | } |
| 242 | |
| 243 | /** Map a validated issue (+ its firing markers, iff scheduled) to the detail |
| 244 | * issue shape. Keeps the body and the scheduling frontmatter the board drops. */ |
no outgoing calls
no test coverage detected