MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / issueAssigneeForWorkspace

Function issueAssigneeForWorkspace

src/workspaces/issues/board.ts:239–241  ·  view source on GitHub ↗
(issue: IssueRecord, workspaceTag?: string)

Source from the content-addressed store, hash-verified

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. */
239export 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. */

Callers 3

detailIssueFunction · 0.85
snapshotBoardIssueFunction · 0.85
rowOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected