.nh .TH "GT-ISSUE-VIEW" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-issue-view - View an issue .SH SYNOPSIS \fBgt issue view { | } [flags]\fP .SH DESCRIPTION Display the title, body and other information about an issue. With --comments, the conversation follows the body. The blocked_by and blocks JSON fields cost extra requests, made only when the output includes them (see gt help formatting). .SS ARGUMENTS .EX An issue can be supplied as argument in any of the following formats: - by number, e.g. "123" or "#123" - by URL, e.g. "https://gitea.com/OWNER/REPO/issues/123" - by repository and number, e.g. "OWNER/REPO#123" Several issues must be in one repository. Next to "OWNER/REPO#123" or a URL, "124" means OWNER/REPO#124, unless gt targets another repository otherwise, such as the clone's, --repo or GITEA_CLI_REPO: then the command fails, and the number must be qualified. .EE .SS JSON FIELDS .EX assignees, author, blocked_by, blocks, body, comments, created_at, due_date, id, kind, labels, milestone, number, ref, state, title, updated_at, url .EE .SH OPTIONS \fB-c\fP, \fB--comments\fP[=false] View issue comments .PP \fB-h\fP, \fB--help\fP[=false] help for view .PP \fB-w\fP, \fB--web\fP[=false] Open the issue in the browser .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--csv\fP[=""] Output CSV with the specified comma-separated \fBfields\fR, or all fields .PP \fB--cwd\fP="" Working \fBdirectory\fR for repository discovery .PP \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB-q\fP, \fB--jq\fP="" Filter JSON output using a jq \fBexpression\fR; implies --json .PP \fB--json\fP[=""] Output JSON with the specified comma-separated \fBfields\fR, or all fields .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--remote\fP="" Git \fBremote\fR used for repository discovery .PP \fB-R\fP, \fB--repo\fP="" Select a repository as \fBOWNER/REPO\fR or URL .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH EXAMPLE .EX $ gt issue view 12 $ gt issue view 12 --comments $ gt issue view https://gitea.com/OWNER/REPO/issues/12 --web .EE .SH SEE ALSO \fBgt-issue(1)\fP