Skip to main content

Reference documentation for GraphQL schema types in the Issues category.

In this article

Mutations

addAssigneesToAssignable

Mutation

Adds assignees to an assignable object.

Input fields for addAssigneesToAssignable

Return fields for addAssigneesToAssignable

NameDescription

assignable (Assignable)

The item that was assigned.

clientMutationId (String)

A unique identifier for the client performing the mutation.

addBlockedBy

Mutation

Adds a 'blocked by' relationship to an issue.

Input fields for addBlockedBy

Return fields for addBlockedBy

NameDescription

blockingIssue (Issue)

The issue that is blocking the given issue.

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The issue that is blocked.

addComment

Mutation

Adds a comment to an Issue or Pull Request.

Input fields for addComment

Return fields for addComment

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

commentEdge (IssueCommentEdge)

The edge from the subject's comment connection.

subject (Node)

The subject.

timelineEdge (IssueTimelineItemEdge)

The edge from the subject's timeline connection.

addLabelsToLabelable

Mutation

Adds labels to a labelable object.

Input fields for addLabelsToLabelable

Return fields for addLabelsToLabelable

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

labelable (Labelable)

The item that was labeled.

addSubIssue

Mutation

Adds a sub-issue to a given issue.

Input fields for addSubIssue

Return fields for addSubIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The parent issue that the sub-issue was added to.

subIssue (Issue)

The sub-issue of the parent.

clearLabelsFromLabelable

Mutation

Clears all labels from a labelable object.

Input fields for clearLabelsFromLabelable

Return fields for clearLabelsFromLabelable

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

labelable (Labelable)

The item that was unlabeled.

closeIssue

Mutation

Close an issue.

Input fields for closeIssue

Return fields for closeIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The issue that was closed.

createIssue

Mutation

Creates a new issue.

Input fields for createIssue

Return fields for createIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The new issue.

createIssueType

Mutation

Creates a new issue type.

Input fields for createIssueType

Return fields for createIssueType

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueType (IssueType)

The newly created issue type.

createLabel

Mutation

Creates a new label.

Input fields for createLabel

Return fields for createLabel

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

label (Label)

The new label.

createLinkedBranch

Mutation

Create a branch linked to an issue.

Input fields for createLinkedBranch

Return fields for createLinkedBranch

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The issue that was linked to.

linkedBranch (LinkedBranch)

The new branch issue reference.

deleteIssue

Mutation

Deletes an Issue object.

Input fields for deleteIssue

Return fields for deleteIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository the issue belonged to.

deleteIssueComment

Mutation

Deletes an IssueComment object.

Input fields for deleteIssueComment

Return fields for deleteIssueComment

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

deleteIssueType

Mutation

Delete an issue type.

Input fields for deleteIssueType

Return fields for deleteIssueType

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

deletedIssueTypeId (ID)

The ID of the deleted issue type.

deleteLabel

Mutation

Deletes a label.

Input fields for deleteLabel

Return fields for deleteLabel

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

deleteLinkedBranch

Mutation

Unlink a branch from an issue.

Input fields for deleteLinkedBranch

Return fields for deleteLinkedBranch

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The issue the linked branch was unlinked from.

lockLockable

Mutation

Lock a lockable object.

Input fields for lockLockable

Return fields for lockLockable

NameDescription

actor (Actor)

Identifies the actor who performed the event.

clientMutationId (String)

A unique identifier for the client performing the mutation.

lockedRecord (Lockable)

The item that was locked.

minimizeComment

Mutation

Minimizes a comment on an Issue, Commit, Pull Request, or Gist.

Input fields for minimizeComment

Return fields for minimizeComment

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

minimizedComment (Minimizable)

The comment that was minimized.

pinIssue

Mutation

Pin an issue to a repository.

Input fields for pinIssue

Return fields for pinIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The issue that was pinned.

removeAssigneesFromAssignable

Mutation

Removes assignees from an assignable object.

Input fields for removeAssigneesFromAssignable

Return fields for removeAssigneesFromAssignable

NameDescription

assignable (Assignable)

The item that was unassigned.

clientMutationId (String)

A unique identifier for the client performing the mutation.

removeBlockedBy

Mutation

Removes a 'blocked by' relationship from an issue.

Input fields for removeBlockedBy

Return fields for removeBlockedBy

NameDescription

blockingIssue (Issue)

The previously blocking issue.

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The previously blocked issue.

removeLabelsFromLabelable

Mutation

Removes labels from a Labelable object.

Input fields for removeLabelsFromLabelable

Return fields for removeLabelsFromLabelable

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

labelable (Labelable)

The Labelable the labels were removed from.

removeSubIssue

Mutation

Removes a sub-issue from a given issue.

Input fields for removeSubIssue

Return fields for removeSubIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The parent of the sub-issue.

subIssue (Issue)

The sub-issue of the parent.

reopenIssue

Mutation

Reopen a issue.

Input fields for reopenIssue

Return fields for reopenIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The issue that was opened.

replaceActorsForAssignable

Mutation

Replaces all actors for assignable object.

Input fields for replaceActorsForAssignable

Return fields for replaceActorsForAssignable

NameDescription

assignable (Assignable)

The item that was assigned.

clientMutationId (String)

A unique identifier for the client performing the mutation.

reprioritizeSubIssue

Mutation

Reprioritizes a sub-issue to a different position in the parent list.

Input fields for reprioritizeSubIssue

Return fields for reprioritizeSubIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The parent issue that the sub-issue was reprioritized in.

transferIssue

Mutation

Transfer an issue to a different repository.

Input fields for transferIssue

Return fields for transferIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The issue that was transferred.

unlockLockable

Mutation

Unlock a lockable object.

Input fields for unlockLockable

Return fields for unlockLockable

NameDescription

actor (Actor)

Identifies the actor who performed the event.

clientMutationId (String)

A unique identifier for the client performing the mutation.

unlockedRecord (Lockable)

The item that was unlocked.

unmarkIssueAsDuplicate

Mutation

Unmark an issue as a duplicate of another issue.

Input fields for unmarkIssueAsDuplicate

Return fields for unmarkIssueAsDuplicate

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

duplicate (IssueOrPullRequest)

The issue or pull request that was marked as a duplicate.

unminimizeComment

Mutation

Unminimizes a comment on an Issue, Commit, Pull Request, or Gist.

Input fields for unminimizeComment

Return fields for unminimizeComment

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

unminimizedComment (Minimizable)

The comment that was unminimized.

unpinIssue

Mutation

Unpin a pinned issue from a repository.

Input fields for unpinIssue

Return fields for unpinIssue

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID)

The id of the pinned issue that was unpinned.

issue (Issue)

The issue that was unpinned.

updateIssue

Mutation

Updates an Issue.

Input fields for updateIssue

Return fields for updateIssue

NameDescription

actor (Actor)

Identifies the actor who performed the event.

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The issue.

updateIssueComment

Mutation

Updates an IssueComment object.

Input fields for updateIssueComment

Return fields for updateIssueComment

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueComment (IssueComment)

The updated comment.

updateIssueIssueType

Mutation

Updates the issue type on an issue.

Input fields for updateIssueIssueType

Return fields for updateIssueIssueType

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issue (Issue)

The updated issue.

updateIssueType

Mutation

Update an issue type.

Input fields for updateIssueType

Return fields for updateIssueType

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueType (IssueType)

The updated issue type.

updateLabel

Mutation

Updates an existing label.

Input fields for updateLabel

Return fields for updateLabel

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

label (Label)

The updated label.

Objects

AssignedEvent

Object

Represents anassignedevent on any assignable object.

AssignedEvent Implements

Fields for AssignedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

assignable (Assignable!)

Identifies the assignable associated with the event.

assignee (Assignee)

Identifies the user or mannequin that was assigned.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the AssignedEvent object.

user (User)

Identifies the user who was assigned.

Warning

user is deprecated.

Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

AssigneeConnection

Object

The connection type for Assignee.

Fields for AssigneeConnection

NameDescription

edges ([AssigneeEdge])

A list of edges.

nodes ([Assignee])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

AssigneeEdge

Object

An edge in a connection.

Fields for AssigneeEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Assignee)

The item at the end of the edge.

BlockedByAddedEvent

Object

Represents ablocked_by_addedevent on a given issue.

BlockedByAddedEvent Implements

Fields for BlockedByAddedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

blockingIssue (Issue)

The blocking issue that was added.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the BlockedByAddedEvent object.

BlockedByRemovedEvent

Object

Represents ablocked_by_removedevent on a given issue.

BlockedByRemovedEvent Implements

Fields for BlockedByRemovedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

blockingIssue (Issue)

The blocking issue that was removed.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the BlockedByRemovedEvent object.

BlockingAddedEvent

Object

Represents ablocking_addedevent on a given issue.

BlockingAddedEvent Implements

Fields for BlockingAddedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

blockedIssue (Issue)

The blocked issue that was added.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the BlockingAddedEvent object.

BlockingRemovedEvent

Object

Represents ablocking_removedevent on a given issue.

BlockingRemovedEvent Implements

Fields for BlockingRemovedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

blockedIssue (Issue)

The blocked issue that was removed.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the BlockingRemovedEvent object.

ClosedEvent

Object

Represents aclosedevent on any Closable.

ClosedEvent Implements

Fields for ClosedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

closable (Closable!)

Object that was closed.

closer (Closer)

Object which triggered the creation of this event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

duplicateOf (IssueOrPullRequest)

The issue or pull request that this issue was marked as a duplicate of.

id (ID!)

The Node ID of the ClosedEvent object.

resourcePath (URI!)

The HTTP path for this closed event.

stateReason (IssueStateReason)

The reason the issue state was changed to closed.

url (URI!)

The HTTP URL for this closed event.

CommentDeletedEvent

Object

Represents acomment_deletedevent on a given issue or pull request.

CommentDeletedEvent Implements

Fields for CommentDeletedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

deletedCommentAuthor (Actor)

The user who authored the deleted comment.

id (ID!)

The Node ID of the CommentDeletedEvent object.

ConnectedEvent

Object

Represents aconnectedevent on a given issue or pull request.

ConnectedEvent Implements

Fields for ConnectedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ConnectedEvent object.

isCrossRepository (Boolean!)

Reference originated in a different repository.

source (ReferencedSubject!)

Issue or pull request that made the reference.

subject (ReferencedSubject!)

Issue or pull request which was connected.

ConvertedNoteToIssueEvent

Object

Represents aconverted_note_to_issueevent on a given issue or pull request.

ConvertedNoteToIssueEvent Implements

Fields for ConvertedNoteToIssueEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the ConvertedNoteToIssueEvent object.

project (Project)

Project referenced by event.

Warning

project is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

projectCard (ProjectCard)

Project card referenced by this project event.

Warning

projectCard is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

projectColumnName (String!)

Column name referenced by this project event.

ConvertedToDiscussionEvent

Object

Represents aconverted_to_discussionevent on a given issue.

ConvertedToDiscussionEvent Implements

Fields for ConvertedToDiscussionEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

discussion (Discussion)

The discussion that the issue was converted into.

id (ID!)

The Node ID of the ConvertedToDiscussionEvent object.

CrossReferencedEvent

Object

Represents a mention made by one issue or pull request to another.

CrossReferencedEvent Implements

Fields for CrossReferencedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the CrossReferencedEvent object.

isCrossRepository (Boolean!)

Reference originated in a different repository.

referencedAt (DateTime!)

Identifies when the reference was made.

resourcePath (URI!)

The HTTP path for this pull request.

source (ReferencedSubject!)

Issue or pull request that made the reference.

target (ReferencedSubject!)

Issue or pull request to which the reference was made.

url (URI!)

The HTTP URL for this pull request.

willCloseTarget (Boolean!)

Checks if the target will be closed when the source is merged.

DemilestonedEvent

Object

Represents ademilestonedevent on a given issue or pull request.

DemilestonedEvent Implements

Fields for DemilestonedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the DemilestonedEvent object.

milestoneTitle (String!)

Identifies the milestone title associated with thedemilestonedevent.

subject (MilestoneItem!)

Object referenced by event.

DisconnectedEvent

Object

Represents adisconnectedevent on a given issue or pull request.

DisconnectedEvent Implements

Fields for DisconnectedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the DisconnectedEvent object.

isCrossRepository (Boolean!)

Reference originated in a different repository.

source (ReferencedSubject!)

Issue or pull request from which the issue was disconnected.

subject (ReferencedSubject!)

Issue or pull request which was disconnected.

Issue

Object

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

Issue Implements

Fields for Issue

NameDescription

activeLockReason (LockReason)

Reason that the conversation was locked.

assignedActors (AssigneeConnection!)

A list of actors assigned to this object.

Arguments for assignedActors

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

assignees (UserConnection!)

A list of Users assigned to this object.

Arguments for assignees

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

blockedBy (IssueConnection!)

A list of issues that are blocking this issue.

Arguments for blockedBy

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

blocking (IssueConnection!)

A list of issues that this issue is blocking.

Arguments for blocking

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

body (String!)

Identifies the body of the issue.

bodyHTML (HTML!)

The body rendered to HTML.

bodyResourcePath (URI!)

The http path for this issue body.

bodyText (String!)

Identifies the body of the issue rendered to text.

bodyUrl (URI!)

The http URL for this issue body.

closed (Boolean!)

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

closedAt (DateTime)

Identifies the date and time when the object was closed.

closedByPullRequestsReferences (PullRequestConnection)

List of open pull requests referenced from this issue.

Arguments for closedByPullRequestsReferences

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

  • includeClosedPrs (Boolean)

    Include closed PRs in results.

    The default value is false.

  • last (Int)

    Returns the last n elements from the list.

  • orderByState (Boolean)

    Return results ordered by state.

    The default value is false.

  • userLinkedOnly (Boolean)

    Return only manually linked PRs.

    The default value is false.

comments (IssueCommentConnection!)

A list of comments associated with the Issue.

Arguments for comments

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

  • orderBy (IssueCommentOrder)

    Ordering options for issue comments returned from the connection.

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.

duplicateOf (Issue)

A reference to the original issue that this issue has been marked as a duplicate of.

editor (Actor)

The actor who edited the comment.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

hovercard (Hovercard!)

The hovercard information for this issue.

Arguments for hovercard

  • includeNotificationContexts (Boolean)

    Whether or not to include notification contexts.

    The default value is true.

id (ID!)

The Node ID of the Issue object.

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.

issueDependenciesSummary (IssueDependenciesSummary!)

Summary of the state of an issue's dependencies.

issueType (IssueType)

The issue type for this Issue.

labels (LabelConnection)

A list of labels associated with the object.

Arguments for labels

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

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

lastEditedAt (DateTime)

The moment the editor made the last edit.

linkedBranches (LinkedBranchConnection!)

Branches linked to this issue.

Arguments for linkedBranches

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

locked (Boolean!)

true if the object is locked.

milestone (Milestone)

Identifies the milestone associated with the issue.

number (Int!)

Identifies the issue number.

parent (Issue)

The parent entity of the issue.

participants (UserConnection!)

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

Arguments for participants

  • 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 (ProjectCardConnection!)

List of project cards associated with this issue.

Warning

projectCards is deprecated.

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC.

Arguments for projectCards

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

projectItems (ProjectV2ItemConnection!)

List of project items associated with this issue.

Arguments for projectItems

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

  • includeArchived (Boolean)

    Include archived items.

    The default value is true.

  • last (Int)

    Returns the last n elements from the list.

projectV2 (ProjectV2)

Find a project by number.

Arguments for projectV2

  • number (Int!)

    The project number.

projectsV2 (ProjectV2Connection!)

A list of projects under the owner.

Arguments for projectsV2

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

  • query (String)

    A project to search for under the owner.

publishedAt (DateTime)

Identifies when the comment was published at.

reactionGroups ([ReactionGroup!])

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

reactions (ReactionConnection!)

A list of Reactions left on the Issue.

Arguments for reactions

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

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

stateReason (IssueStateReason)

Identifies the reason for the issue state.

Arguments for stateReason

  • enableDuplicate (Boolean)

    Whether or not to return state reason for duplicates

    Upcoming Change on 2025-10-01 UTC Description: enableDuplicate will be removed. Reason: The state reason for duplicate issue is now returned by default.

    The default value is false.

subIssues (IssueConnection!)

A list of sub-issues associated with the Issue.

Arguments for subIssues

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

subIssuesSummary (SubIssuesSummary!)

Summary of the state of an issue's sub-issues.

suggestedActors (AssigneeConnection!)

A list of suggested actors to assign to this object.

Arguments for suggestedActors

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

  • query (String)

    If provided, searches users by login or profile name.

timeline (IssueTimelineConnection!)

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

Warning

timeline is deprecated.

timeline will be removed Use Issue.timelineItems instead. Removal on 2020-10-01 UTC.

Arguments for timeline

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

  • since (DateTime)

    Allows filtering timeline events by a since timestamp.

timelineItems (IssueTimelineItemsConnection!)

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

Arguments for timelineItems

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

  • since (DateTime)

    Filter timeline items by a since timestamp.

  • skip (Int)

    Skips the first n elements in the list.

title (String!)

Identifies the issue title.

titleHTML (String!)

Identifies the issue title rendered to HTML.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this issue.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

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

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for this object.

viewerCanReact (Boolean!)

Can user react to this subject.

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

viewerCanSetFields (Boolean)

Check if the current viewer can set fields on the issue.

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.

viewerThreadSubscriptionFormAction (ThreadSubscriptionFormAction)

Identifies the viewer's thread subscription form action.

viewerThreadSubscriptionStatus (ThreadSubscriptionState)

Identifies the viewer's thread subscription status.

IssueComment

Object

Represents a comment on an Issue.

IssueComment Implements

Fields for IssueComment

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

The body as Markdown.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

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.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the IssueComment object.

includesCreatedEdit (Boolean!)

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

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

issue (Issue!)

Identifies the issue associated with the comment.

lastEditedAt (DateTime)

The moment the editor made the last edit.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

publishedAt (DateTime)

Identifies when the comment was published at.

pullRequest (PullRequest)

Returns the pull request associated with the comment, if this comment was made on a pull request.

reactionGroups ([ReactionGroup!])

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

reactions (ReactionConnection!)

A list of Reactions left on the Issue.

Arguments for reactions

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

  • 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 comment.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this issue comment.

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

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

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCanReact (Boolean!)

Can user react to this subject.

viewerCanUnminimize (Boolean!)

Check if the current viewer can unminimize this object.

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.

IssueCommentConnection

Object

The connection type for IssueComment.

Fields for IssueCommentConnection

NameDescription

edges ([IssueCommentEdge])

A list of edges.

nodes ([IssueComment])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

IssueCommentEdge

Object

An edge in a connection.

Fields for IssueCommentEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (IssueComment)

The item at the end of the edge.

IssueConnection

Object

The connection type for Issue.

Fields for IssueConnection

NameDescription

edges ([IssueEdge])

A list of edges.

nodes ([Issue])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

IssueContributionsByRepository

Object

This aggregates issues opened by a user within one repository.

Fields for IssueContributionsByRepository

NameDescription

contributions (CreatedIssueContributionConnection!)

The issue contributions.

Arguments for contributions

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

  • orderBy (ContributionOrder)

    Ordering options for contributions returned from the connection.

repository (Repository!)

The repository in which the issues were opened.

IssueDependenciesSummary

Object

Summary of the state of an issue's dependencies.

Fields for IssueDependenciesSummary

NameDescription

blockedBy (Int!)

Count of issues this issue is blocked by.

blocking (Int!)

Count of issues this issue is blocking.

totalBlockedBy (Int!)

Total count of issues this issue is blocked by (open and closed).

totalBlocking (Int!)

Total count of issues this issue is blocking (open and closed).

IssueEdge

Object

An edge in a connection.

Fields for IssueEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Issue)

The item at the end of the edge.

IssueTemplate

Object

A repository issue template.

Fields for IssueTemplate

NameDescription

about (String)

The template purpose.

assignees (UserConnection!)

The suggested assignees.

Arguments for assignees

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

body (String)

The suggested issue body.

filename (String!)

The template filename.

labels (LabelConnection)

The suggested issue labels.

Arguments for labels

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

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

name (String!)

The template name.

title (String)

The suggested issue title.

type (IssueType)

The suggested issue type.

IssueTimelineConnection

Object

The connection type for IssueTimelineItem.

Fields for IssueTimelineConnection

NameDescription

edges ([IssueTimelineItemEdge])

A list of edges.

nodes ([IssueTimelineItem])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

IssueTimelineItemEdge

Object

An edge in a connection.

Fields for IssueTimelineItemEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (IssueTimelineItem)

The item at the end of the edge.

IssueTimelineItemsConnection

Object

The connection type for IssueTimelineItems.

Fields for IssueTimelineItemsConnection

NameDescription

edges ([IssueTimelineItemsEdge])

A list of edges.

filteredCount (Int!)

Identifies the count of items after applying before and after filters.

nodes ([IssueTimelineItems])

A list of nodes.

pageCount (Int!)

Identifies the count of items after applying before/after filters and first/last/skip slicing.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

updatedAt (DateTime!)

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

IssueTimelineItemsEdge

Object

An edge in a connection.

Fields for IssueTimelineItemsEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (IssueTimelineItems)

The item at the end of the edge.

IssueType

Object

Represents the type of Issue.

IssueType Implements

Fields for IssueType

NameDescription

color (IssueTypeColor!)

The issue type's color.

description (String)

The issue type's description.

id (ID!)

The Node ID of the IssueType object.

isEnabled (Boolean!)

The issue type's enabled state.

isPrivate (Boolean!)

Whether the issue type is publicly visible.

Warning

isPrivate is deprecated.

Private issue types are being deprecated and can no longer be created. Removal on 2025-04-01 UTC.

issues (IssueConnection!)

The issues with this issue type in the given repository.

Arguments for issues

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

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

  • repositoryId (ID!)

    Target repository to load the issues from.

name (String!)

The issue type's name.

IssueTypeAddedEvent

Object

Represents aissue_type_addedevent on a given issue.

IssueTypeAddedEvent Implements

Fields for IssueTypeAddedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the IssueTypeAddedEvent object.

issueType (IssueType)

The issue type added.

IssueTypeChangedEvent

Object

Represents aissue_type_changedevent on a given issue.

IssueTypeChangedEvent Implements

Fields for IssueTypeChangedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the IssueTypeChangedEvent object.

issueType (IssueType)

The issue type added.

prevIssueType (IssueType)

The issue type removed.

IssueTypeConnection

Object

The connection type for IssueType.

Fields for IssueTypeConnection

NameDescription

edges ([IssueTypeEdge])

A list of edges.

nodes ([IssueType])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

IssueTypeEdge

Object

An edge in a connection.

Fields for IssueTypeEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (IssueType)

The item at the end of the edge.

IssueTypeRemovedEvent

Object

Represents aissue_type_removedevent on a given issue.

IssueTypeRemovedEvent Implements

Fields for IssueTypeRemovedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the IssueTypeRemovedEvent object.

issueType (IssueType)

The issue type removed.

Label

Object

A label for categorizing Issues, Pull Requests, Milestones, or Discussions with a given Repository.

Label Implements

Fields for Label

NameDescription

color (String!)

Identifies the label color.

createdAt (DateTime)

Identifies the date and time when the label was created.

description (String)

A brief description of this label.

id (ID!)

The Node ID of the Label object.

isDefault (Boolean!)

Indicates whether or not this is a default label.

issues (IssueConnection!)

A list of issues associated with this label.

Arguments for issues

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

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

name (String!)

Identifies the label name.

pullRequests (PullRequestConnection!)

A list of pull requests associated with this label.

Arguments for pullRequests

  • after (String)

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

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

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

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

repository (Repository!)

The repository associated with this label.

resourcePath (URI!)

The HTTP path for this label.

updatedAt (DateTime)

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

url (URI!)

The HTTP URL for this label.

LabelConnection

Object

The connection type for Label.

Fields for LabelConnection

NameDescription

edges ([LabelEdge])

A list of edges.

nodes ([Label])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

LabeledEvent

Object

Represents alabeledevent on a given issue or pull request.

LabeledEvent Implements

Fields for LabeledEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the LabeledEvent object.

label (Label!)

Identifies the label associated with thelabeledevent.

labelable (Labelable!)

Identifies the Labelable associated with the event.

LabelEdge

Object

An edge in a connection.

Fields for LabelEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Label)

The item at the end of the edge.

LinkedBranch

Object

A branch linked to an issue.

LinkedBranch Implements

Fields for LinkedBranch

NameDescription

id (ID!)

The Node ID of the LinkedBranch object.

ref (Ref)

The branch's ref.

LinkedBranchConnection

Object

A list of branches linked to an issue.

Fields for LinkedBranchConnection

NameDescription

edges ([LinkedBranchEdge])

A list of edges.

nodes ([LinkedBranch])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

LinkedBranchEdge

Object

An edge in a connection.

Fields for LinkedBranchEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (LinkedBranch)

The item at the end of the edge.

LockedEvent

Object

Represents alockedevent on a given issue or pull request.

LockedEvent Implements

Fields for LockedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the LockedEvent object.

lockReason (LockReason)

Reason that the conversation was locked (optional).

lockable (Lockable!)

Object that was locked.

MarkedAsDuplicateEvent

Object

Represents amarked_as_duplicateevent on a given issue or pull request.

MarkedAsDuplicateEvent Implements

Fields for MarkedAsDuplicateEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

canonical (IssueOrPullRequest)

The authoritative issue or pull request which has been duplicated by another.

createdAt (DateTime!)

Identifies the date and time when the object was created.

duplicate (IssueOrPullRequest)

The issue or pull request which has been marked as a duplicate of another.

id (ID!)

The Node ID of the MarkedAsDuplicateEvent object.

isCrossRepository (Boolean!)

Canonical and duplicate belong to different repositories.

MentionedEvent

Object

Represents amentionedevent on a given issue or pull request.

MentionedEvent Implements

Fields for MentionedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

id (ID!)

The Node ID of the MentionedEvent object.

Milestone

Object

Represents a Milestone object on a given repository.

Milestone Implements

Fields for Milestone

NameDescription

closed (Boolean!)

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

closedAt (DateTime)

Identifies the date and time when the object was closed.

closedIssueCount (Int!)

Identifies the number of closed issues associated with the milestone.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor)

Identifies the actor who created the milestone.

description (String)

Identifies the description of the milestone.

descriptionHTML (String)

The HTML rendered description of the milestone using GitHub Flavored Markdown.

dueOn (DateTime)

Identifies the due date of the milestone.

id (ID!)

The Node ID of the Milestone object.

issues (IssueConnection!)

A list of issues associated with the milestone.

Arguments for issues

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

  • filterBy (IssueFilters)

    Filtering options for issues returned from the connection.

  • first (Int)

    Returns the first n elements from the list.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for issues returned from the connection.

number (Int!)

Identifies the number of the milestone.

openIssueCount (Int!)

Identifies the number of open issues associated with the milestone.

progressPercentage (Float!)

Identifies the percentage complete for the milestone.

pullRequests (PullRequestConnection!)

A list of pull requests associated with the milestone.

Arguments for pullRequests

  • after (String)

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

  • baseRefName (String)

    The base ref name to filter the pull requests by.

  • before (String)

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

  • first (Int)

    Returns the first n elements from the list.

  • headRefName (String)

    The head ref name to filter the pull requests by.

  • labels ([String!])

    A list of label names to filter the pull requests by.

  • last (Int)

    Returns the last n elements from the list.

  • orderBy (IssueOrder)

    Ordering options for pull requests returned from the connection.

repository (Repository!)

The repository associated with this milestone.

resourcePath (URI!)

The HTTP path for this milestone.

state (MilestoneState!)

Identifies the state of the milestone.

title (String!)

Identifies the title of the milestone.

updatedAt (DateTime!)

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

url (URI!)

The HTTP URL for this milestone.

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

MilestoneConnection

Object

The connection type for Milestone.

Fields for MilestoneConnection

NameDescription

edges ([MilestoneEdge])

A list of edges.

nodes ([Milestone])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

MilestonedEvent

Object

Represents amilestonedevent on a given issue or pull request.

MilestonedEvent Implements

Fields for MilestonedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the MilestonedEvent object.

milestoneTitle (String!)

Identifies the milestone title associated with themilestonedevent.

subject (MilestoneItem!)

Object referenced by event.

MilestoneEdge

Object

An edge in a connection.

Fields for MilestoneEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (Milestone)

The item at the end of the edge.

ParentIssueAddedEvent

Object

Represents aparent_issue_addedevent on a given issue.

ParentIssueAddedEvent Implements

Fields for ParentIssueAddedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ParentIssueAddedEvent object.

parent (Issue)

The parent issue added.

ParentIssueRemovedEvent

Object

Represents aparent_issue_removedevent on a given issue.

ParentIssueRemovedEvent Implements

Fields for ParentIssueRemovedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ParentIssueRemovedEvent object.

parent (Issue)

The parent issue removed.

PinnedEvent

Object

Represents apinnedevent on a given issue or pull request.

PinnedEvent Implements

Fields for PinnedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the PinnedEvent object.

issue (Issue!)

Identifies the issue associated with the event.

PinnedIssue

Object

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

PinnedIssue Implements

Fields for PinnedIssue

NameDescription

databaseId (Int)

Identifies the primary key from the database.

fullDatabaseId (BigInt)

Identifies the primary key from the database as a BigInt.

id (ID!)

The Node ID of the PinnedIssue object.

issue (Issue!)

The issue that was pinned.

pinnedBy (Actor!)

The actor that pinned this issue.

repository (Repository!)

The repository that this issue was pinned to.

PinnedIssueConnection

Object

The connection type for PinnedIssue.

Fields for PinnedIssueConnection

NameDescription

edges ([PinnedIssueEdge])

A list of edges.

nodes ([PinnedIssue])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PinnedIssueEdge

Object

An edge in a connection.

Fields for PinnedIssueEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (PinnedIssue)

The item at the end of the edge.

ReferencedEvent

Object

Represents areferencedevent on a given ReferencedSubject.

ReferencedEvent Implements

Fields for ReferencedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

commit (Commit)

Identifies the commit associated with thereferencedevent.

commitRepository (Repository!)

Identifies the repository associated with thereferencedevent.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ReferencedEvent object.

isCrossRepository (Boolean!)

Reference originated in a different repository.

isDirectReference (Boolean!)

Checks if the commit message itself references the subject. Can be false in the case of a commit comment reference.

subject (ReferencedSubject!)

Object referenced by event.

RenamedTitleEvent

Object

Represents arenamedevent on a given issue or pull request.

RenamedTitleEvent Implements

Fields for RenamedTitleEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

currentTitle (String!)

Identifies the current title of the issue or pull request.

id (ID!)

The Node ID of the RenamedTitleEvent object.

previousTitle (String!)

Identifies the previous title of the issue or pull request.

subject (RenamedTitleSubject!)

Subject that was renamed.

ReopenedEvent

Object

Represents areopenedevent on any Closable.

ReopenedEvent Implements

Fields for ReopenedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

closable (Closable!)

Object that was reopened.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the ReopenedEvent object.

stateReason (IssueStateReason)

The reason the issue state was changed to open.

SubIssueAddedEvent

Object

Represents asub_issue_addedevent on a given issue.

SubIssueAddedEvent Implements

Fields for SubIssueAddedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the SubIssueAddedEvent object.

subIssue (Issue)

The sub-issue added.

SubIssueRemovedEvent

Object

Represents asub_issue_removedevent on a given issue.

SubIssueRemovedEvent Implements

Fields for SubIssueRemovedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the SubIssueRemovedEvent object.

subIssue (Issue)

The sub-issue removed.

SubIssuesSummary

Object

Summary of the state of an issue's sub-issues.

Fields for SubIssuesSummary

NameDescription

completed (Int!)

Count of completed sub-issues.

percentCompleted (Int!)

Percent of sub-issues which are completed.

total (Int!)

Count of total number of sub-issues.

SubscribedEvent

Object

Represents asubscribedevent on a given Subscribable.

SubscribedEvent Implements

Fields for SubscribedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the SubscribedEvent object.

subscribable (Subscribable!)

Object referenced by event.

TransferredEvent

Object

Represents atransferredevent on a given issue or pull request.

TransferredEvent Implements

Fields for TransferredEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

fromRepository (Repository)

The repository this came from.

id (ID!)

The Node ID of the TransferredEvent object.

issue (Issue!)

Identifies the issue associated with the event.

UnassignedEvent

Object

Represents anunassignedevent on any assignable object.

UnassignedEvent Implements

Fields for UnassignedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

assignable (Assignable!)

Identifies the assignable associated with the event.

assignee (Assignee)

Identifies the user or mannequin that was unassigned.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnassignedEvent object.

user (User)

Identifies the subject (user) who was unassigned.

Warning

user is deprecated.

Assignees can now be mannequins. Use the assignee field instead. Removal on 2020-01-01 UTC.

UnlabeledEvent

Object

Represents anunlabeledevent on a given issue or pull request.

UnlabeledEvent Implements

Fields for UnlabeledEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnlabeledEvent object.

label (Label!)

Identifies the label associated with theunlabeledevent.

labelable (Labelable!)

Identifies the Labelable associated with the event.

UnlockedEvent

Object

Represents anunlockedevent on a given issue or pull request.

UnlockedEvent Implements

Fields for UnlockedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnlockedEvent object.

lockable (Lockable!)

Object that was unlocked.

UnmarkedAsDuplicateEvent

Object

Represents anunmarked_as_duplicateevent on a given issue or pull request.

UnmarkedAsDuplicateEvent Implements

Fields for UnmarkedAsDuplicateEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

canonical (IssueOrPullRequest)

The authoritative issue or pull request which has been duplicated by another.

createdAt (DateTime!)

Identifies the date and time when the object was created.

duplicate (IssueOrPullRequest)

The issue or pull request which has been marked as a duplicate of another.

id (ID!)

The Node ID of the UnmarkedAsDuplicateEvent object.

isCrossRepository (Boolean!)

Canonical and duplicate belong to different repositories.

UnpinnedEvent

Object

Represents anunpinnedevent on a given issue or pull request.

UnpinnedEvent Implements

Fields for UnpinnedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnpinnedEvent object.

issue (Issue!)

Identifies the issue associated with the event.

UnsubscribedEvent

Object

Represents anunsubscribedevent on a given Subscribable.

UnsubscribedEvent Implements

Fields for UnsubscribedEvent

NameDescription

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

id (ID!)

The Node ID of the UnsubscribedEvent object.

subscribable (Subscribable!)

Object referenced by event.

Interfaces

Assignable

Interface

An object that can have users assigned to it.

Assignable is implemented by

Fields for Assignable

NameDescription

assignedActors (AssigneeConnection!)

A list of actors assigned to this object.

Arguments for assignedActors

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

assignees (UserConnection!)

A list of Users assigned to this object.

Arguments for assignees

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

suggestedActors (AssigneeConnection!)

A list of suggested actors to assign to this object.

Arguments for suggestedActors

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

  • query (String)

    If provided, searches users by login or profile name.

Closable

Interface

An object that can be closed.

Closable is implemented by

Fields for Closable

NameDescription

closed (Boolean!)

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

closedAt (DateTime)

Identifies the date and time when the object was closed.

viewerCanClose (Boolean!)

Indicates if the object can be closed by the viewer.

viewerCanReopen (Boolean!)

Indicates if the object can be reopened by the viewer.

Comment

Interface

Represents a comment.

Comment is implemented by

Fields for Comment

NameDescription

author (Actor)

The actor who authored the comment.

authorAssociation (CommentAuthorAssociation!)

Author's association with the subject of the comment.

body (String!)

The body as Markdown.

bodyHTML (HTML!)

The body rendered to HTML.

bodyText (String!)

The body rendered to text.

createdAt (DateTime!)

Identifies the date and time when the object was created.

createdViaEmail (Boolean!)

Check if this comment was created via an email reply.

editor (Actor)

The actor who edited the comment.

id (ID!)

The Node ID of the Comment object.

includesCreatedEdit (Boolean!)

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

lastEditedAt (DateTime)

The moment the editor made the last edit.

publishedAt (DateTime)

Identifies when the comment was published at.

updatedAt (DateTime!)

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

userContentEdits (UserContentEditConnection)

A list of edits to this content.

Arguments for userContentEdits

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

viewerDidAuthor (Boolean!)

Did the viewer author this comment.

Deletable

Interface

Entities that can be deleted.

Deletable is implemented by

Fields for Deletable

NameDescription

viewerCanDelete (Boolean!)

Check if the current viewer can delete this object.

Labelable

Interface

An object that can have labels assigned to it.

Labelable is implemented by

Fields for Labelable

NameDescription

labels (LabelConnection)

A list of labels associated with the object.

Arguments for labels

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

  • orderBy (LabelOrder)

    Ordering options for labels returned from the connection.

viewerCanLabel (Boolean!)

Indicates if the viewer can edit labels for this object.

Lockable

Interface

An object that can be locked.

Lockable is implemented by

Fields for Lockable

NameDescription

activeLockReason (LockReason)

Reason that the conversation was locked.

locked (Boolean!)

true if the object is locked.

Minimizable

Interface

Entities that can be minimized.

Minimizable is implemented by

Fields for Minimizable

NameDescription

isMinimized (Boolean!)

Returns whether or not a comment has been minimized.

minimizedReason (String)

Returns why the comment was minimized. One of abuse, off-topic, outdated, resolved, duplicate and spam. Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

viewerCanMinimize (Boolean!)

Check if the current viewer can minimize this object.

viewerCanUnminimize (Boolean!)

Check if the current viewer can unminimize this object.

Updatable

Interface

Entities that can be updated.

Updatable is implemented by

Fields for Updatable

NameDescription

viewerCanUpdate (Boolean!)

Check if the current viewer can update this object.

UpdatableComment

Interface

Comments that can be updated.

UpdatableComment is implemented by

Fields for UpdatableComment

NameDescription

viewerCannotUpdateReasons ([CommentCannotUpdateReason!]!)

Reasons why the current viewer can not update this comment.

Enums

CommentAuthorAssociation

Enum

A comment author association with repository.

Values for CommentAuthorAssociation

NameDescription
COLLABORATOR

Author has been invited to collaborate on the repository.

CONTRIBUTOR

Author has previously committed to the repository.

FIRST_TIMER

Author has not previously committed to GitHub.

FIRST_TIME_CONTRIBUTOR

Author has not previously committed to the repository.

MANNEQUIN

Author is a placeholder for an unclaimed user.

MEMBER

Author is a member of the organization that owns the repository.

NONE

Author has no association with the repository.

OWNER

Author is the owner of the repository.

CommentCannotUpdateReason

Enum

The possible errors that will prevent a user from updating a comment.

Values for CommentCannotUpdateReason

NameDescription
ARCHIVED

Unable to create comment because repository is archived.

DENIED

You cannot update this comment.

INSUFFICIENT_ACCESS

You must be the author or have write access to this repository to update this comment.

LOCKED

Unable to create comment because issue is locked.

LOGIN_REQUIRED

You must be logged in to update this comment.

MAINTENANCE

Repository is under maintenance.

VERIFIED_EMAIL_REQUIRED

At least one email address must be verified to update this comment.

IssueClosedStateReason

Enum

The possible state reasons of a closed issue.

Values for IssueClosedStateReason

NameDescription
COMPLETED

An issue that has been closed as completed.

DUPLICATE

An issue that has been closed as a duplicate.

NOT_PLANNED

An issue that has been closed as not planned.

IssueCommentOrderField

Enum

Properties by which issue comment connections can be ordered.

Values for IssueCommentOrderField

NameDescription
UPDATED_AT

Order issue comments by update time.

IssueDependencyOrderField

Enum

Properties by which issue dependencies can be ordered.

Values for IssueDependencyOrderField

NameDescription
CREATED_AT

Order issue dependencies by the creation time of the dependent issue.

DEPENDENCY_ADDED_AT

Order issue dependencies by time of when the dependency relationship was added.

IssueOrderField

Enum

Properties by which issue connections can be ordered.

Values for IssueOrderField

NameDescription
COMMENTS

Order issues by comment count.

CREATED_AT

Order issues by creation time.

UPDATED_AT

Order issues by update time.

IssueState

Enum

The possible states of an issue.

Values for IssueState

NameDescription
CLOSED

An issue that has been closed.

OPEN

An issue that is still open.

IssueStateReason

Enum

The possible state reasons of an issue.

Values for IssueStateReason

NameDescription
COMPLETED

An issue that has been closed as completed.

DUPLICATE

An issue that has been closed as a duplicate.

NOT_PLANNED

An issue that has been closed as not planned.

REOPENED

An issue that has been reopened.

IssueTypeColor

Enum

The possible color for an issue type.

Values for IssueTypeColor

NameDescription
BLUE

blue.

GRAY

gray.

GREEN

green.

ORANGE

orange.

PINK

pink.

PURPLE

purple.

RED

red.

YELLOW

yellow.

IssueTypeOrderField

Enum

Properties by which issue type connections can be ordered.

Values for IssueTypeOrderField

NameDescription
CREATED_AT

Order issue types by creation time.

NAME

Order issue types by name.

LabelOrderField

Enum

Properties by which label connections can be ordered.

Values for LabelOrderField

NameDescription
CREATED_AT

Order labels by creation time.

ISSUE_COUNT

Order labels by issue count.

NAME

Order labels by name.

LockReason

Enum

The possible reasons that an issue or pull request was locked.

Values for LockReason

NameDescription
OFF_TOPIC

The issue or pull request was locked because the conversation was off-topic.

RESOLVED

The issue or pull request was locked because the conversation was resolved.

SPAM

The issue or pull request was locked because the conversation was spam.

TOO_HEATED

The issue or pull request was locked because the conversation was too heated.

MilestoneOrderField

Enum

Properties by which milestone connections can be ordered.

Values for MilestoneOrderField

NameDescription
CREATED_AT

Order milestones by when they were created.

DUE_DATE

Order milestones by when they are due.

NUMBER

Order milestones by their number.

UPDATED_AT

Order milestones by when they were last updated.

MilestoneState

Enum

The possible states of a milestone.

Values for MilestoneState

NameDescription
CLOSED

A milestone that has been closed.

OPEN

A milestone that is still open.

Unions

Assignee

Union

Types that can be assigned to issues.

Possible types for Assignee

Closer

Union

The object which triggered a ClosedEvent.

Possible types for Closer

IssueOrPullRequest

Union

Used for return value of Repository.issueOrPullRequest.

Possible types for IssueOrPullRequest

IssueTimelineItem

Union

An item in an issue timeline.

Possible types for IssueTimelineItem

IssueTimelineItems

Union

An item in an issue timeline.

Possible types for IssueTimelineItems

MilestoneItem

Union

Types that can be inside a Milestone.

Possible types for MilestoneItem

ReferencedSubject

Union

Any referencable object.

Possible types for ReferencedSubject

RenamedTitleSubject

Union

An object which has a renamable title.

Possible types for RenamedTitleSubject

Input objects

AddAssigneesToAssignableInput

Input object

Autogenerated input type of AddAssigneesToAssignable.

Input fields for AddAssigneesToAssignableInput

NameDescription

assignableId (ID!)

The id of the assignable object to add assignees to.

assigneeIds ([ID!]!)

The ids of actors (users or bots) to add as assignees.

clientMutationId (String)

A unique identifier for the client performing the mutation.

AddBlockedByInput

Input object

Autogenerated input type of AddBlockedBy.

Input fields for AddBlockedByInput

NameDescription

blockingIssueId (ID!)

The ID of the issue that blocks the given issue.

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The ID of the issue to be blocked.

AddCommentInput

Input object

Autogenerated input type of AddComment.

Input fields for AddCommentInput

NameDescription

body (String!)

The contents of the comment.

clientMutationId (String)

A unique identifier for the client performing the mutation.

subjectId (ID!)

The Node ID of the subject to modify.

AddLabelsToLabelableInput

Input object

Autogenerated input type of AddLabelsToLabelable.

Input fields for AddLabelsToLabelableInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

labelIds ([ID!]!)

The ids of the labels to add.

labelableId (ID!)

The id of the labelable object to add labels to.

AddSubIssueInput

Input object

Autogenerated input type of AddSubIssue.

Input fields for AddSubIssueInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The id of the issue.

replaceParent (Boolean)

Option to replace parent issue if one already exists.

subIssueId (ID)

The id of the sub-issue.

subIssueUrl (String)

The url of the sub-issue.

ClearLabelsFromLabelableInput

Input object

Autogenerated input type of ClearLabelsFromLabelable.

Input fields for ClearLabelsFromLabelableInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

labelableId (ID!)

The id of the labelable object to clear the labels from.

CloseIssueInput

Input object

Autogenerated input type of CloseIssue.

Input fields for CloseIssueInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

duplicateIssueId (ID)

ID of the issue that this is a duplicate of.

issueId (ID!)

ID of the issue to be closed.

stateReason (IssueClosedStateReason)

The reason the issue is to be closed.

CreateIssueInput

Input object

Autogenerated input type of CreateIssue.

Input fields for CreateIssueInput

NameDescription

assigneeIds ([ID!])

The Node ID of assignees for this issue.

body (String)

The body for the issue description.

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueTemplate (String)

The name of an issue template in the repository, assigns labels and assignees from the template to the issue.

issueTypeId (ID)

The Node ID of the issue type for this issue.

labelIds ([ID!])

An array of Node IDs of labels for this issue.

milestoneId (ID)

The Node ID of the milestone for this issue.

parentIssueId (ID)

The Node ID of the parent issue to add this new issue to.

projectIds ([ID!])

An array of Node IDs for projects associated with this issue.

projectV2Ids ([ID!])

An array of Node IDs for Projects V2 associated with this issue.

repositoryId (ID!)

The Node ID of the repository.

title (String!)

The title for the issue.

CreateIssueTypeInput

Input object

Autogenerated input type of CreateIssueType.

Input fields for CreateIssueTypeInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

color (IssueTypeColor)

Color for the issue type.

description (String)

Description of the new issue type.

isEnabled (Boolean!)

Whether or not the issue type is enabled on the org level.

name (String!)

Name of the new issue type.

ownerId (ID!)

The ID for the organization on which the issue type is created.

CreateLabelInput

Input object

Autogenerated input type of CreateLabel.

Input fields for CreateLabelInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

color (String!)

A 6 character hex code, without the leading #, identifying the color of the label.

description (String)

A brief description of the label, such as its purpose.

name (String!)

The name of the label.

repositoryId (ID!)

The Node ID of the repository.

CreateLinkedBranchInput

Input object

Autogenerated input type of CreateLinkedBranch.

Input fields for CreateLinkedBranchInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

ID of the issue to link to.

name (String)

The name of the new branch. Defaults to issue number and title.

oid (GitObjectID!)

The commit SHA to base the new branch on.

repositoryId (ID)

ID of the repository to create the branch in. Defaults to the issue repository.

DeleteIssueCommentInput

Input object

Autogenerated input type of DeleteIssueComment.

Input fields for DeleteIssueCommentInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The ID of the comment to delete.

DeleteIssueInput

Input object

Autogenerated input type of DeleteIssue.

Input fields for DeleteIssueInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The ID of the issue to delete.

DeleteIssueTypeInput

Input object

Autogenerated input type of DeleteIssueType.

Input fields for DeleteIssueTypeInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueTypeId (ID!)

The ID of the issue type to delete.

DeleteLabelInput

Input object

Autogenerated input type of DeleteLabel.

Input fields for DeleteLabelInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The Node ID of the label to be deleted.

DeleteLinkedBranchInput

Input object

Autogenerated input type of DeleteLinkedBranch.

Input fields for DeleteLinkedBranchInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

linkedBranchId (ID!)

The ID of the linked branch.

IssueCommentOrder

Input object

Ways in which lists of issue comments can be ordered upon return.

Input fields for IssueCommentOrder

NameDescription

direction (OrderDirection!)

The direction in which to order issue comments by the specified field.

field (IssueCommentOrderField!)

The field in which to order issue comments by.

IssueDependencyOrder

Input object

Ordering options issue dependencies.

Input fields for IssueDependencyOrder

NameDescription

direction (OrderDirection!)

The ordering direction.

field (IssueDependencyOrderField!)

The field to order issue dependencies by.

IssueFilters

Input object

Ways in which to filter lists of issues.

Input fields for IssueFilters

NameDescription

assignee (String)

List issues assigned to given name. Pass in null for issues with no assigned user, and * for issues assigned to any user.

createdBy (String)

List issues created by given name.

labels ([String!])

List issues where the list of label names exist on the issue.

mentioned (String)

List issues where the given name is mentioned in the issue.

milestone (String)

List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its database ID. Pass in null for issues with no milestone, and * for issues that are assigned to any milestone.

milestoneNumber (String)

List issues by given milestone argument. If an string representation of an integer is passed, it should refer to a milestone by its number field. Pass in null for issues with no milestone, and * for issues that are assigned to any milestone.

since (DateTime)

List issues that have been updated at or after the given date.

states ([IssueState!])

List issues filtered by the list of states given.

type (String)

List issues filtered by the type given, only supported by searches on repositories.

viewerSubscribed (Boolean)

List issues subscribed to by viewer.

IssueOrder

Input object

Ways in which lists of issues can be ordered upon return.

Input fields for IssueOrder

NameDescription

direction (OrderDirection!)

The direction in which to order issues by the specified field.

field (IssueOrderField!)

The field in which to order issues by.

IssueTypeOrder

Input object

Ordering options for issue types connections.

Input fields for IssueTypeOrder

NameDescription

direction (OrderDirection!)

The ordering direction.

field (IssueTypeOrderField!)

The field to order issue types by.

LabelOrder

Input object

Ways in which lists of labels can be ordered upon return.

Input fields for LabelOrder

NameDescription

direction (OrderDirection!)

The direction in which to order labels by the specified field.

field (LabelOrderField!)

The field in which to order labels by.

LockLockableInput

Input object

Autogenerated input type of LockLockable.

Input fields for LockLockableInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

lockReason (LockReason)

A reason for why the item will be locked.

lockableId (ID!)

ID of the item to be locked.

MilestoneOrder

Input object

Ordering options for milestone connections.

Input fields for MilestoneOrder

NameDescription

direction (OrderDirection!)

The ordering direction.

field (MilestoneOrderField!)

The field to order milestones by.

MinimizeCommentInput

Input object

Autogenerated input type of MinimizeComment.

Input fields for MinimizeCommentInput

NameDescription

classifier (ReportedContentClassifiers!)

The classification of comment.

clientMutationId (String)

A unique identifier for the client performing the mutation.

subjectId (ID!)

The Node ID of the subject to modify.

PinIssueInput

Input object

Autogenerated input type of PinIssue.

Input fields for PinIssueInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The ID of the issue to be pinned.

RemoveAssigneesFromAssignableInput

Input object

Autogenerated input type of RemoveAssigneesFromAssignable.

Input fields for RemoveAssigneesFromAssignableInput

NameDescription

assignableId (ID!)

The id of the assignable object to remove assignees from.

assigneeIds ([ID!]!)

The ids of actors to remove as assignees.

clientMutationId (String)

A unique identifier for the client performing the mutation.

RemoveBlockedByInput

Input object

Autogenerated input type of RemoveBlockedBy.

Input fields for RemoveBlockedByInput

NameDescription

blockingIssueId (ID!)

The ID of the blocking issue.

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The ID of the blocked issue.

RemoveLabelsFromLabelableInput

Input object

Autogenerated input type of RemoveLabelsFromLabelable.

Input fields for RemoveLabelsFromLabelableInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

labelIds ([ID!]!)

The ids of labels to remove.

labelableId (ID!)

The id of the Labelable to remove labels from.

RemoveSubIssueInput

Input object

Autogenerated input type of RemoveSubIssue.

Input fields for RemoveSubIssueInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The id of the issue.

subIssueId (ID!)

The id of the sub-issue.

ReopenIssueInput

Input object

Autogenerated input type of ReopenIssue.

Input fields for ReopenIssueInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

ID of the issue to be opened.

ReplaceActorsForAssignableInput

Input object

Autogenerated input type of ReplaceActorsForAssignable.

Input fields for ReplaceActorsForAssignableInput

NameDescription

actorIds ([ID!]!)

The ids of the actors to replace the existing assignees.

assignableId (ID!)

The id of the assignable object to replace the assignees for.

clientMutationId (String)

A unique identifier for the client performing the mutation.

ReprioritizeSubIssueInput

Input object

Autogenerated input type of ReprioritizeSubIssue.

Input fields for ReprioritizeSubIssueInput

NameDescription

afterId (ID)

The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified).

beforeId (ID)

The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified).

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The id of the parent issue.

subIssueId (ID!)

The id of the sub-issue to reprioritize.

TransferIssueInput

Input object

Autogenerated input type of TransferIssue.

Input fields for TransferIssueInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

createLabelsIfMissing (Boolean)

Whether to create labels if they don't exist in the target repository (matched by name).

issueId (ID!)

The Node ID of the issue to be transferred.

repositoryId (ID!)

The Node ID of the repository the issue should be transferred to.

UnlockLockableInput

Input object

Autogenerated input type of UnlockLockable.

Input fields for UnlockLockableInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

lockableId (ID!)

ID of the item to be unlocked.

UnmarkIssueAsDuplicateInput

Input object

Autogenerated input type of UnmarkIssueAsDuplicate.

Input fields for UnmarkIssueAsDuplicateInput

NameDescription

canonicalId (ID!)

ID of the issue or pull request currently considered canonical/authoritative/original.

clientMutationId (String)

A unique identifier for the client performing the mutation.

duplicateId (ID!)

ID of the issue or pull request currently marked as a duplicate.

UnminimizeCommentInput

Input object

Autogenerated input type of UnminimizeComment.

Input fields for UnminimizeCommentInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

subjectId (ID!)

The Node ID of the subject to modify.

UnpinIssueInput

Input object

Autogenerated input type of UnpinIssue.

Input fields for UnpinIssueInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The ID of the issue to be unpinned.

UpdateIssueCommentInput

Input object

Autogenerated input type of UpdateIssueComment.

Input fields for UpdateIssueCommentInput

NameDescription

body (String!)

The updated text of the comment.

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The ID of the IssueComment to modify.

UpdateIssueInput

Input object

Autogenerated input type of UpdateIssue.

Input fields for UpdateIssueInput

NameDescription

assigneeIds ([ID!])

An array of Node IDs of users or bots for this issue.

body (String)

The body for the issue description.

clientMutationId (String)

A unique identifier for the client performing the mutation.

id (ID!)

The ID of the Issue to modify.

issueTypeId (ID)

The ID of the Issue Type for this issue.

labelIds ([ID!])

An array of Node IDs of labels for this issue.

milestoneId (ID)

The Node ID of the milestone for this issue.

projectIds ([ID!])

An array of Node IDs for projects associated with this issue.

state (IssueState)

The desired issue state.

title (String)

The title for the issue.

UpdateIssueIssueTypeInput

Input object

Autogenerated input type of UpdateIssueIssueType.

Input fields for UpdateIssueIssueTypeInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

issueId (ID!)

The ID of the issue to update.

issueTypeId (ID)

The ID of the issue type to update on the issue.

UpdateIssueTypeInput

Input object

Autogenerated input type of UpdateIssueType.

Input fields for UpdateIssueTypeInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

color (IssueTypeColor)

Color for the issue type.

description (String)

The description of the issue type.

isEnabled (Boolean)

Whether or not the issue type is enabled for the organization.

issueTypeId (ID!)

The ID of the issue type to update.

name (String)

The name of the issue type.

UpdateLabelInput

Input object

Autogenerated input type of UpdateLabel.

Input fields for UpdateLabelInput

NameDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

color (String)

A 6 character hex code, without the leading #, identifying the updated color of the label.

description (String)

A brief description of the label, such as its purpose.

id (ID!)

The Node ID of the label to be updated.

name (String)

The updated name of the label.