Skip to main content

github.issue

Home > @runlightyear/github > Issue

Issue type

Documentation: https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads\#issues

Signature:
declare type Issue = {
activeLockReason: "resolved" | "off-topic" | "too heated" | "spam" | null;
assignee?: User | null;
assignees: Array<User>;
authorAssociation: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER";
body: string | null;
closedAt: string | null;
comments: number;
commentsUrl: string;
createdAt: string;
draft?: boolean;
eventsUrl: string;
htmlUrl: string;
id: number;
labels?: Array<Label>;
labelsUrl: string;
locked: boolean;
milestone: Milestone | null;
nodeId: string;
number: number;
performedViaGithubApp?: object | null;
pullRequest?: {
diffUrl: string;
htmlUrl: string;
mergedAt: string | null;
patchUrl: string;
url: string;
};
reactions: Reactions;
repositoryUrl: string;
state?: "open" | "closed";
stateReason?: string | null;
timelineUrl?: string;
title: string;
updatedAt: string;
url: string;
user: User;
};
References:

User, Label, Milestone, Reactions