Object GitHub::Issue
An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.
Fields
activeLockReason: LockReason
Reason that the conversation was locked.
assignees(after: String, before: String, first: Int, last: Int): UserConnection!
A list of Users assigned to this object.
body: String!
Identifies the body of the issue.
bodyHTML: HTML!
The body rendered to HTML.
bodyText: String!
Identifies the body of the issue rendered to text.
closed: Boolean!
true
if the object is closed (definition of closed may depend on type)
closedAt: DateTime
Identifies the date and time when the object was closed.
comments(after: String, before: String, first: Int, last: Int): IssueCommentConnection!
A list of comments associated with the Issue.
createdAt: DateTime!
Identifies the date and time when the object was created.
createdViaEmail: Boolean!
Check if this comment was created via an email reply.
databaseId: Int
Identifies the primary key from the database.
editor: Actor
The actor who edited the comment.
hovercard(includeNotificationContexts: Boolean = true): Hovercard!
The hovercard information for this issue
Args
includeNotificationContexts: Boolean = true
Whether or not to include notification contexts
id: ID!
includesCreatedEdit: Boolean!
Check if this comment was edited and includes an edit with the creation data
labels(orderBy: LabelOrder = {field: CREATED_AT, direction: ASC}, after: String, before: String, first: Int, last: Int): LabelConnection
A list of labels associated with the object.
Args
orderBy: LabelOrder = {field: CREATED_AT, direction: ASC}
Ordering options for labels returned from the connection.
lastEditedAt: DateTime
The moment the editor made the last edit
locked: Boolean!
true
if the object is locked
milestone: Milestone
Identifies the milestone associated with the issue.
number: Int!
Identifies the issue number.
participants(after: String, before: String, first: Int, last: Int): UserConnection!
A list of Users that are participating in the Issue conversation.
projectCards(after: String, before: String, first: Int, last: Int, archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED]): ProjectCardConnection!
List of project cards associated with this issue.
Args
archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED]
A list of archived states to filter the cards by
publishedAt: DateTime
Identifies when the comment was published at.
reactionGroups: [ReactionGroup!]
A list of reactions grouped by content left on the subject.
reactions(after: String, before: String, first: Int, last: Int, content: ReactionContent, orderBy: ReactionOrder): ReactionConnection!
A list of Reactions left on the Issue.
Args
content: ReactionContent
Allows filtering Reactions by emoji.
orderBy: ReactionOrder
Allows specifying the order in which reactions are returned.
repository: Repository!
The repository associated with this node.
resourcePath: URI!
The HTTP path for this issue
state: IssueState!
Identifies the state of the issue.
timeline(since: DateTime, after: String, before: String, first: Int, last: Int): IssueTimelineConnection!
`timeline` will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.
A list of events, comments, commits, etc. associated with the issue.
timelineItems(since: DateTime, skip: Int, itemTypes: [IssueTimelineItemsItemType!], after: String, before: String, first: Int, last: Int): IssueTimelineItemsConnection!
A list of events, comments, commits, etc. associated with the issue.
Args
itemTypes: [IssueTimelineItemsItemType!]
Filter timeline items by type.
title: String!
Identifies the issue title.
updatedAt: DateTime!
Identifies the date and time when the object was last updated.
url: URI!
The HTTP URL for this issue
userContentEdits(after: String, before: String, first: Int, last: Int): UserContentEditConnection
A list of edits to this content.
viewerCanReact: Boolean!
Can user react to this subject
viewerCanSubscribe: Boolean!
Check if the viewer is able to change their subscription status for the repository.
viewerCanUpdate: Boolean!
Check if the current viewer can update this object.
viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!
Reasons why the current viewer can not update this comment.
viewerDidAuthor: Boolean!
Did the viewer author this comment.
viewerSubscription: SubscriptionState
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.