Issue

An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project.

Implements

Connections

assignees (UserConnection)
A list of Users assigned to the Issue.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

comments (IssueCommentConnection)
A list of comments associated with the Issue.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

participants (UserConnection)
A list of Users that are participating in the Issue's conversation.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

reactions (ReactionConnection)
A list of Reactions left on the Issue.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

content ReactionContent

Allows filtering Reactions by emoji.

orderBy ReactionOrder

Allows specifying the order in which reactions are returned.

timeline (IssueTimelineConnection)
A list of events associated with an Issue or PullRequest.
Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

since String

Allows filtering timeline events by a since timestamp.

Fields

author (User)

Identifies the author of the issue.

body (String)

Identifies the body of the issue.

bodyHTML (HTML)

Identifies the body of the issue rendered to HTML.

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)
Deprecation notice

Exposed database IDs will eventually be removed in favor of global Relay IDs.

Identifies the primary key from the database.

labels (LabelConnection)

A list of labels associated with the Issue or Pull Request.

Argument Type Description
first Int

Returns the first n elements from the list.

after String

Returns the elements in the list that come after the specified global ID.

last Int

Returns the last n elements from the list.

before String

Returns the elements in the list that come before the specified global ID.

liveReactionUpdatesEnabled (Boolean)

Are reaction live updates enabled for this subject.

milestone (Milestone)

Identifies the milestone associated with the issue.

number (Int)

Identifies the issue number.

path (URI)

The HTTP path for this issue

reactionGroups (ReactionGroup)

A list of reactions grouped by content left on the subject.

reactionsWebsocket (String)

The websocket channel ID for reaction live updates.

repository (Repository)

Identifies the repository associated with the issue.

state (IssueState)

Identifies the state of the issue.

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

viewerCanDelete (Boolean)

Check if the current viewer can delete this issue.

viewerCanEdit (Boolean)

Check if the current viewer edit this comment.

viewerCanReact (Boolean)

Can user react to this subject

viewerCannotEditReasons (CommentCannotEditReason)

Errors why the current viewer can not edit this comment.

viewerDidAuthor (Boolean)

Did the viewer author this comment.

websocket (String)

The websocket channel ID for live updates.

Argument Type Description
channel

The channel to use.