GitHubIssue

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

EXAMPLE USAGES
GitHubUnresolvedIssuesQuery

Fetch the first ten open issues for a GitHub repository, sorted by when they were created.

GitHubFindIssueIdByNumber

Given a repository $repoOwner/$repoName, find the id of an issue by its $number.

Usually users think of "issue #10", but most GitHub GraphQL mutations refer to issues by their id, so you'll find this query quite helpful! For example, you'll need the issue id if you want to Delete a GitHub issue.

To find the id of issue #3 on the OneGraph GraphQL Docs Repository, we could pass in the following variables:

{
  "repoName": "graphql-docs",
  "repoOwner": "OneGraph",
  "number": 3
}
FIELDS
activeLockReason (GitHubLockReason)

Reason that the conversation was locked.

assignees (GitHubUserConnection!)

A list of Users assigned to this object.

author (GitHubActor)

The actor who authored the comment.

authorAssociation (GitHubCommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

Identifies the body of the issue.

bodyHTML (GitHubHTML!)

The body rendered to HTML.

bodyResourcePath (GitHubURI!)

The http path for this issue body

bodyText (String!)

Identifies the body of the issue rendered to text.

bodyUrl (GitHubURI!)

The http URL for this issue body

closed (Boolean!)

true if the object is closed (definition of closed may depend on type)

closedAt (GitHubDateTime)

Identifies the date and time when the object was closed.

comments (GitHubIssueCommentConnection!)

A list of comments associated with the Issue.

createdAt (GitHubDateTime!)

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 (GitHubActor)

The actor who edited the comment.

hovercard (GitHubHovercard!)

The hovercard information for this issue

id (ID!)

No description

includesCreatedEdit (Boolean!)

Check if this comment was edited and includes an edit with the creation data

isPinned (Boolean)

Indicates whether or not this issue is currently pinned to the repository issues list

isReadByViewer (Boolean)

Is this issue read by the viewer

labels (GitHubLabelConnection)

A list of labels associated with the object.

lastEditedAt (GitHubDateTime)

The moment the editor made the last edit

locked (Boolean!)

true if the object is locked

milestone (GitHubMilestone)

Identifies the milestone associated with the issue.

number (Int!)

Identifies the issue number.

oneGraphId (ID!)

Unique id across all of OneGraph

oneGraphLinkedNodes (OneGraphLinkedNodesConnection!)

List of OneGraphNodes that are linked from this node.

participants (GitHubUserConnection!)

A list of Users that are participating in the Issue conversation.

projectCards (GitHubProjectCardConnection!)

List of project cards associated with this issue.

publishedAt (GitHubDateTime)

Identifies when the comment was published at.

reactionGroups ([GitHubReactionGroup!])

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

reactions (GitHubReactionConnection!)

A list of Reactions left on the Issue.

repository (GitHubRepository!)

The repository associated with this node.

resourcePath (GitHubURI!)

The HTTP path for this issue

salesforceCase (SalesforceCase)

Linked Salesforce case

state (GitHubIssueState!)

Identifies the state of the issue.

timelineItems (GitHubIssueTimelineItemsConnection!)

A list of events, comments, commits, etc. associated with the issue.

title (String!)

Identifies the issue title.

updatedAt (GitHubDateTime!)

Identifies the date and time when the object was last updated.

url (GitHubURI!)

The HTTP URL for this issue

userContentEdits (GitHubUserContentEditConnection)

A list of edits to this content.

viewerCannotUpdateReasons ([GitHubCommentCannotUpdateReason!]!)

Reasons why the current viewer can not update this comment.

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.

viewerDidAuthor (Boolean!)

Did the viewer author this comment.

viewerSubscription (GitHubSubscriptionState)

Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

DEPRECATED FIELDS
IMPLEMENTS
OneGraphNode

An object with a globally unique id across all of OneGraph

GitHubAssignable

An object that can have users assigned to it.

GitHubClosable

An object that can be closed

GitHubComment

Represents a comment.

GitHubLabelable

An object that can have labels assigned to it.

GitHubLockable

An object that can be locked.

GitHubNode

An object with an ID.

GitHubReactable

Represents a subject that can be reacted on.

GitHubRepositoryNode

Represents a object that belongs to a repository.

GitHubSubscribable

Entities that can be subscribed to for web and email notifications.

GitHubUniformResourceLocatable

Represents a type that can be retrieved by a URL.

GitHubUpdatable

Entities that can be updated.

GitHubUpdatableComment

Comments that can be updated.

REQUIRED BY
GitHubCloseIssuePayload

Autogenerated return type of CloseIssue

GitHubCreatedIssueContribution

Represents the contribution a user made on GitHub by opening an issue.

GitHubCreateIssuePayload

Autogenerated return type of CreateIssue

GitHubIssueComment

Represents a comment on an Issue.

GitHubIssueConnection

The connection type for Issue.

GitHubIssueEdge

An edge in a connection.

GitHubPinIssuePayload

Autogenerated return type of PinIssue

GitHubPinnedEvent

Represents a 'pinned' event on a given issue or pull request.

GitHubPinnedIssue

A Pinned Issue is a issue pinned to a repository's index page.

GitHubReopenIssuePayload

Autogenerated return type of ReopenIssue

GitHubRepository

A repository contains the content for a project.

GitHubTransferIssuePayload

Autogenerated return type of TransferIssue

GitHubTransferredEvent

Represents a 'transferred' event on a given issue or pull request.

GitHubUnpinIssuePayload

Autogenerated return type of UnpinIssue

GitHubUnpinnedEvent

Represents an 'unpinned' event on a given issue or pull request.

GitHubUpdateIssuePayload

Autogenerated return type of UpdateIssue

SalesforceCasePreviousVersion

The previous version of Case before the update.

____________________________________________________________________________________________________