Skip to content

IssueEntity

A resolved issue entity from GitHub.

data: object

id: number

Format: int64

node_id: string

url: string

Format: uri

URL for the issue

https://api.github.com/repositories/42/issues/1

repository_url: string

Format: uri

labels_url: string

comments_url: string

Format: uri

events_url: string

Format: uri

html_url: string

Format: uri

number: number

Number uniquely identifying the issue within its repository

42

state: string

State of the issue; either ‘open’ or ‘closed’

open

optional state_reason: "completed" | "reopened" | "not_planned" | null

The reason for the current state

not_planned
@enum {string|null}

title: string

Title of the issue

Widget creation fails in Safari on OS X 10.8

optional body: string | null

Contents of the issue

It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?

user: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null

{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }

null

labels: (string | { id?: number; node_id?: string; url?: string; name?: string; description?: string | null; color?: string | null; default?: boolean; })[]

Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository

[
"bug",
"registration"
]

assignee: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null

{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }

null

optional assignees: object[] | null

milestone: { url: string; html_url: string; labels_url: string; id: number; node_id: string; number: number; state: "open" | "closed"; title: string; description: string | null; creator: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null; open_issues: number; closed_issues: number; created_at: string; updated_at: string; closed_at: string | null; due_on: string | null; } | null

{ url: string; html_url: string; labels_url: string; id: number; node_id: string; number: number; state: "open" | "closed"; title: string; description: string | null; creator: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null; open_issues: number; closed_issues: number; created_at: string; updated_at: string; closed_at: string | null; due_on: string | null; }

null

locked: boolean

optional active_lock_reason: string | null

comments: number

optional pull_request: object

optional merged_at: string | null

Format: date-time

diff_url: string | null

Format: uri

html_url: string | null

Format: uri

patch_url: string | null

Format: uri

url: string | null

Format: uri

closed_at: string | null

Format: date-time

created_at: string

Format: date-time

updated_at: string

Format: date-time

optional draft: boolean

optional closed_by: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null

{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }

null

optional body_html: string

optional body_text: string

optional timeline_url: string

Format: uri

optional type: { id: number; node_id: string; name: string; description: string | null; color?: "gray" | "blue" | "green" | "yellow" | "orange" | "red" | "pink" | "purple" | null; created_at?: string; updated_at?: string; is_enabled?: boolean; } | null

{ id: number; node_id: string; name: string; description: string | null; color?: "gray" | "blue" | "green" | "yellow" | "orange" | "red" | "pink" | "purple" | null; created_at?: string; updated_at?: string; is_enabled?: boolean; }

null

optional repository: object

id: number

Format: int64

Unique identifier of the repository

42

node_id: string

MDEwOlJlcG9zaXRvcnkxMjk2MjY5

name: string

The name of the repository.

Team Environment

full_name: string

octocat/Hello-World

license: { key: string; name: string; url: string | null; spdx_id: string | null; node_id: string; html_url?: string; } | null

{ key: string; name: string; url: string | null; spdx_id: string | null; node_id: string; html_url?: string; }

null

forks: number

optional permissions: object

admin: boolean

pull: boolean

optional triage: boolean

push: boolean

optional maintain: boolean

owner: object

optional name: string | null

optional email: string | null

login: string

octocat

id: number

Format: int64

1

node_id: string

MDQ6VXNlcjE=

avatar_url: string

Format: uri

https://github.com/images/error/octocat_happy.gif

gravatar_id: string | null

41d064eb2195891e12d0413f63227ea7

url: string

Format: uri

https://api.github.com/users/octocat

html_url: string

Format: uri

https://github.com/octocat

followers_url: string

Format: uri

https://api.github.com/users/octocat/followers

following_url: string

https://api.github.com/users/octocat/following{/other_user}

gists_url: string

https://api.github.com/users/octocat/gists{/gist_id}

starred_url: string

https://api.github.com/users/octocat/starred{/owner}{/repo}

subscriptions_url: string

Format: uri

https://api.github.com/users/octocat/subscriptions

organizations_url: string

Format: uri

https://api.github.com/users/octocat/orgs

repos_url: string

Format: uri

https://api.github.com/users/octocat/repos

events_url: string

https://api.github.com/users/octocat/events{/privacy}

received_events_url: string

Format: uri

https://api.github.com/users/octocat/received_events

type: string

User

site_admin: boolean

optional starred_at: string

"2020-07-09T00:17:55Z"

optional user_view_type: string

public

private: boolean

Whether the repository is private or public.

false

html_url: string

Format: uri

https://github.com/octocat/Hello-World

description: string | null

This your first repo!

fork: boolean

url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World

archive_url: string

http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}

assignees_url: string

http://api.github.com/repos/octocat/Hello-World/assignees{/user}

blobs_url: string

http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}

branches_url: string

http://api.github.com/repos/octocat/Hello-World/branches{/branch}

collaborators_url: string

http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}

comments_url: string

http://api.github.com/repos/octocat/Hello-World/comments{/number}

commits_url: string

http://api.github.com/repos/octocat/Hello-World/commits{/sha}

compare_url: string

http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}

contents_url: string

http://api.github.com/repos/octocat/Hello-World/contents/{+path}

contributors_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/contributors

deployments_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/deployments

downloads_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/downloads

events_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/events

forks_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/forks

git_commits_url: string

http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}

git_refs_url: string

http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}

git_tags_url: string

http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}

git_url: string

git:github.com/octocat/Hello-World.git

issue_comment_url: string

http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}

issue_events_url: string

http://api.github.com/repos/octocat/Hello-World/issues/events{/number}

issues_url: string

http://api.github.com/repos/octocat/Hello-World/issues{/number}

keys_url: string

http://api.github.com/repos/octocat/Hello-World/keys{/key_id}

labels_url: string

http://api.github.com/repos/octocat/Hello-World/labels{/name}

languages_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/languages

merges_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/merges

milestones_url: string

http://api.github.com/repos/octocat/Hello-World/milestones{/number}

notifications_url: string

http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}

pulls_url: string

http://api.github.com/repos/octocat/Hello-World/pulls{/number}

releases_url: string

http://api.github.com/repos/octocat/Hello-World/releases{/id}

ssh_url: string

git@github.com:octocat/Hello-World.git

stargazers_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/stargazers

statuses_url: string

http://api.github.com/repos/octocat/Hello-World/statuses/{sha}

subscribers_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/subscribers

subscription_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/subscription

tags_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/tags

teams_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/teams

trees_url: string

http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}

clone_url: string

https://github.com/octocat/Hello-World.git

mirror_url: string | null

Format: uri

git:git.example.com/octocat/Hello-World

hooks_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/hooks

svn_url: string

Format: uri

https://svn.github.com/octocat/Hello-World

homepage: string | null

Format: uri

https://github.com

language: string | null

forks_count: number

9

stargazers_count: number

80

watchers_count: number

80

size: number

The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.

108

default_branch: string

The default branch of the repository.

master

open_issues_count: number

0

optional is_template: boolean

Whether this repository acts as a template that can be used to generate new repositories.

false
true

optional topics: string[]

has_issues: boolean

Whether issues are enabled.

true
true

has_projects: boolean

Whether projects are enabled.

true
true

has_wiki: boolean

Whether the wiki is enabled.

true
true

has_pages: boolean

has_downloads: boolean

Whether downloads are enabled.

true
true

optional has_discussions: boolean

Whether discussions are enabled.

false
true

archived: boolean

Whether the repository is archived.

false

disabled: boolean

Returns whether or not this repository disabled.

optional visibility: string

The repository visibility: public, private, or internal.

public

pushed_at: string | null

Format: date-time

2011-01-26T19:06:43Z

created_at: string | null

Format: date-time

2011-01-26T19:01:12Z

updated_at: string | null

Format: date-time

2011-01-26T19:14:43Z

optional allow_rebase_merge: boolean

Whether to allow rebase merges for pull requests.

true
true

optional temp_clone_token: string

optional allow_squash_merge: boolean

Whether to allow squash merges for pull requests.

true
true

optional allow_auto_merge: boolean

Whether to allow Auto-merge to be used on pull requests.

false
false

optional delete_branch_on_merge: boolean

Whether to delete head branches when pull requests are merged

false
false

optional allow_update_branch: boolean

Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.

false
false
repository.use_squash_pr_title_as_default?
Section titled “repository.use_squash_pr_title_as_default?”

optional use_squash_pr_title_as_default: boolean

Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use squash_merge_commit_title instead.

false

optional squash_merge_commit_title: "PR_TITLE" | "COMMIT_OR_PR_TITLE"

The default value for a squash merge commit title:

  • PR_TITLE - default to the pull request’s title.
  • COMMIT_OR_PR_TITLE - default to the commit’s title (if only one commit) or the pull request’s title (when more than one commit).

optional squash_merge_commit_message: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"

The default value for a squash merge commit message:

  • PR_BODY - default to the pull request’s body.
  • COMMIT_MESSAGES - default to the branch’s commit messages.
  • BLANK - default to a blank commit message.

optional merge_commit_title: "PR_TITLE" | "MERGE_MESSAGE"

The default value for a merge commit title.

  • PR_TITLE - default to the pull request’s title.
  • MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).

optional merge_commit_message: "PR_TITLE" | "PR_BODY" | "BLANK"

The default value for a merge commit message.

  • PR_TITLE - default to the pull request’s title.
  • PR_BODY - default to the pull request’s body.
  • BLANK - default to a blank commit message.

optional allow_merge_commit: boolean

Whether to allow merge commits for pull requests.

true
true

optional allow_forking: boolean

Whether to allow forking this repo

optional web_commit_signoff_required: boolean

Whether to require contributors to sign off on web-based commits

false

open_issues: number

watchers: number

optional master_branch: string

optional starred_at: string

"2020-07-09T00:17:42Z"

optional anonymous_access_enabled: boolean

Whether anonymous git access is enabled for this repository

optional code_search_index_status: object

The status of the code search index for this repository

repository.code_search_index_status.lexical_search_ok?
Section titled “repository.code_search_index_status.lexical_search_ok?”

optional lexical_search_ok: boolean

repository.code_search_index_status.lexical_commit_sha?
Section titled “repository.code_search_index_status.lexical_commit_sha?”

optional lexical_commit_sha: string

optional performed_via_github_app: { id: number; slug?: string; node_id: string; client_id?: string; owner: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | { description?: string | null; html_url: string; website_url?: string | null; id: number; node_id: string; name: string; slug: string; created_at: string | null; updated_at: string | null; avatar_url: string; }; name: string; description: string | null; external_url: string; html_url: string; created_at: string; updated_at: string; permissions: {[key: string]: string | undefined; issues?: string; checks?: string; metadata?: string; contents?: string; deployments?: string; }; events: string[]; installations_count?: number; client_secret?: string; webhook_secret?: string | null; pem?: string; } | null

{ id: number; slug?: string; node_id: string; client_id?: string; owner: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | { description?: string | null; html_url: string; website_url?: string | null; id: number; node_id: string; name: string; slug: string; created_at: string | null; updated_at: string | null; avatar_url: string; }; name: string; description: string | null; external_url: string; html_url: string; created_at: string; updated_at: string; permissions: {[key: string]: string | undefined; issues?: string; checks?: string; metadata?: string; contents?: string; deployments?: string; }; events: string[]; installations_count?: number; client_secret?: string; webhook_secret?: string | null; pem?: string; }

null

author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"

optional reactions: object

url: string

Format: uri

total_count: number

+1: number

-1: number

laugh: number

confused: number

heart: number

hooray: number

eyes: number

rocket: number

optional sub_issues_summary: object

total: number

completed: number

percent_completed: number


number: number


type: "issue"