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.
interface IssueVerbs {
schedule(input: IssueScheduleInput, options?: SB.CallOptions): SB.Call<Issue>
}Emits Issue.scheduled.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
issue | Issue | required | The Issue to commit. |
week | date | required | The first day of the week it is committed to. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
issue | Issue | required | The scheduled Issue. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
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.
interface IssueVerbs {
triage(input: IssueTriageInput, options?: SB.CallOptions): SB.Call<Issue>
}Emits Issue.triaged.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
issue | Issue | required | The new Issue. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
issue | Issue | required | The triaged Issue. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use 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. | refused | Read the record, run the Verb that moves it to an allowed state, then retry. | None. |
Example
import { $ } from 'startup-builder'
const issue = await $.Issue.triage({ issue: 'issue_vWekeqrXCN' })