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.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

author: Actor

The actor who authored the comment.

authorAssociation: CommentAuthorAssociation!

Author's association with the subject of the comment.

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.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

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.

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

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.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

projectCards(after: String, before: String, first: Int, last: Int, archivedStates: [ProjectCardArchivedState] = [ARCHIVED, NOT_ARCHIVED]): ProjectCardConnection!

List of project cards associated with this issue.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

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

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

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!

👎 Deprecated:

`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.

Args

since: DateTime

Allows filtering timeline events by a since timestamp.

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

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

since: DateTime

Filter timeline items by a since timestamp.

skip: Int

Skips the first n elements in the list.

itemTypes: [IssueTimelineItemsItemType!]

Filter timeline items by type.

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

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.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

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.

Uses

CloseIssuePayload.issue

CreateIssuePayload.issue

CreatedIssueContribution.issue

IssueComment.issue

IssueConnection.nodes

IssueEdge.node

PinnedEvent.issue

ReopenIssuePayload.issue

Repository.issue

TransferIssuePayload.issue

TransferredEvent.issue

UnpinnedEvent.issue

UpdateIssuePayload.issue

IssueOrPullRequest

MilestoneItem

ProjectCardItem

ReferencedSubject

RenamedTitleSubject

SearchResultItem

Assignable

Closable

Comment

Labelable

Lockable

Node

Reactable

RepositoryNode

Subscribable

UniformResourceLocatable

Updatable

UpdatableComment