Contents

GitHub Get Issue Or Pull Request

GitHubGetIssueTool · Tools · Connections

Get one issue or pull request by number, with its body and attachments. Read-only. Issues and pull requests share one number space; github_get_pull_request adds a pull request's branches and merge state. Open a listed file with github_view_issue_attachment. A long body arrives in windows: when text_window.next_offset is not null, call again with text_offset set to it.

Parameters

NameTypeRequiredDescription
issue_numberintegerYesIssue or pull request number.
ownerstringNoRepository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories.
repostringYesRepository name, without the owner.
text_offsetintegerNoWhere to start reading the full text, in Unicode characters. Pass the previous result's `text_window.next_offset` to continue.