Interface UpdateIssueData

Request body for updating an issue.

interface UpdateIssueData {
    assignees?: string[];
    body?: string;
    labels?: string[];
    milestone?: null | number;
    state?: "open" | "closed";
    state_reason?: "completed" | "not_planned" | "reopened";
    title?: string;
}

Properties

assignees?: string[]

Assignee logins (replaces existing assignees)

body?: string

New body

labels?: string[]

Label names (replaces existing labels)

milestone?: null | number

Milestone number, or null to unset

state?: "open" | "closed"

New state

state_reason?: "completed" | "not_planned" | "reopened"

Reason for closing (required when state is 'closed')

title?: string

New title