GitHubIssue
Defined in: issues/issues.ts:5
An issue as GitHub returns it, with only the fields this client reads.
Properties
Section titled “Properties”assignee
Section titled “assignee”assignee: {
email?:string|null;login:string;name?:string|null; } |null
Defined in: issues/issues.ts:19
The user the issue is assigned to, or null when unassigned.
assignees?
Section titled “assignees?”
optionalassignees?:object[]
Defined in: issues/issues.ts:25
Everyone the issue is assigned to; absent where the response does not list them.
login:
string
optionalbody?:string|null
Defined in: issues/issues.ts:13
The issue’s description; null or absent when empty.
created_at?
Section titled “created_at?”
optionalcreated_at?:string
Defined in: issues/issues.ts:31
When the issue was created, as an ISO 8601 timestamp.
html_url
Section titled “html_url”html_url:
string
Defined in: issues/issues.ts:29
The URL of the issue’s page on GitHub.
id:
number
Defined in: issues/issues.ts:7
The issue’s numeric id.
labels
Section titled “labels”labels:
object[]
Defined in: issues/issues.ts:17
The labels on the issue.
name:
string
milestone?
Section titled “milestone?”
optionalmilestone?: {number:number;title:string; } |null
Defined in: issues/issues.ts:33
The milestone the issue belongs to, or null when none.
node_id?
Section titled “node_id?”
optionalnode_id?:string
Defined in: issues/issues.ts:35
The issue’s GraphQL node id.
number
Section titled “number”number:
number
Defined in: issues/issues.ts:9
The issue’s number within its repository.
pull_request?
Section titled “pull_request?”
optionalpull_request?:unknown
Defined in: issues/issues.ts:39
Set when the item is a pull request; GitHub’s issues API returns pull requests too.
state:
"open"|"closed"
Defined in: issues/issues.ts:15
Whether the issue is open or closed.
title:
string
Defined in: issues/issues.ts:11
The issue’s title.
optionaltype?: {name:string; } |null
Defined in: issues/issues.ts:37
The issue’s Type (Bug, Feature, Task), or null when it has none; absent where the organization has no types.
updated_at
Section titled “updated_at”updated_at:
string
Defined in: issues/issues.ts:27
When the issue was last updated, as an ISO 8601 timestamp.