Skip to content
SDKProductBuild and shipIssue

Issue methods: schedule, triage

The Issue Verbs schedule, triage as typed SDK methods, with inputs, result, refusals and an example.

Reference for Issue, one group of Issue methods.

Issue.schedule

Schedule commits an Issue to a week of work and records each scope change after the week starts. Verb page.

TypeScript
interface IssueVerbs {
  schedule(input: IssueScheduleInput, options?: SB.CallOptions): SB.Call<Issue>
}

Emits Issue.scheduled.

Inputs

InputTypeRequiredDescription
issueIssuerequiredThe Issue to commit.
weekdaterequiredThe first day of the week it is committed to.

Returns

OutputTypeRequiredDescription
issueIssuerequiredThe scheduled Issue.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

TypeScript
import { $ } from 'startup-builder'

const issue = await $.Issue.schedule({ issue: 'issue_vWekeqrXCN', week: '2026-10-22' })

Issue.triage

Triage sets an Issue’s severity and owning Role from its content and the Customer it affects. Verb page.

TypeScript
interface IssueVerbs {
  triage(input: IssueTriageInput, options?: SB.CallOptions): SB.Call<Issue>
}

Emits Issue.triaged.

Inputs

InputTypeRequiredDescription
issueIssuerequiredThe new Issue.

Returns

OutputTypeRequiredDescription
issueIssuerequiredThe triaged Issue.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.
The record is not in a state that allows this Verb, so the call is refused.refusedRead the record, run the Verb that moves it to an allowed state, then retry.None.

Example

TypeScript
import { $ } from 'startup-builder'

const issue = await $.Issue.triage({ issue: 'issue_vWekeqrXCN' })