--- title: '`glab issue update`' stage: AI Clients group: Developer Clients info: To determine the technical writer assigned to the Stage/Group associated with this page, see --- Update issue. ## Synopsis Change an issue's labels, assignees, milestone, title, or description. Use `--label` and `--unlabel` to add or remove labels. Use `--estimate` and `--spend` to track time on the issue, the same as the `/estimate` and `/spend` quick actions. Durations use the GitLab time tracking format, for example `1mo 2w 3d 4h 5m`. `--spend` adds to the time already spent. `--remove-estimate` and `--remove-time-spent` reset the estimate and the time spent. `--attach` uploads a file and references it at the end of the description. Repeat the flag for more than one file, or pass `-` to read the file from standard input. Without `--description` the references are added to the description the issue already has, instead of replacing it. The `--attach` flag is an experiment. It might be unstable or removed at any time, and is not ready for production use. For more information, see . ```plaintext glab issue update [flags] ``` ## Examples ```console glab issue update 42 --label ui,ux glab issue update 42 --unlabel working # Read the description from a file glab issue update 42 --description-file description.md # Read the description from standard input cat description.md | glab issue update 42 --description-file - # Add a screenshot to the existing description glab issue update 42 --attach ./screenshot.png # Set a time estimate and log time spent glab issue update 42 --estimate 2d --spend 1h30m # Reset the time estimate and the time spent glab issue update 42 --remove-estimate --remove-time-spent ``` ## Options ```plaintext -a, --assignee strings Assign users by username. Prefix with '!' or '-' to remove from existing assignees, or '+' to add new. Otherwise, replace existing assignees with these users. Multiple usernames can be comma-separated or specified by repeating the flag. --attach stringArray (EXPERIMENTAL) Upload a file and reference it at the end of the description. Use "-" to read the file from standard input. Repeat the flag to attach multiple files. -c, --confidential Make issue confidential. -d, --description string Issue description. Set to "-" to open an editor. --description-file string Read the issue description from a file. Use "-" to read from standard input. --due-date string A date in 'YYYY-MM-DD' format. --estimate string Set the time estimate for the issue, for example '2d' or '3h30m'. -l, --label strings Add labels. --lock-discussion Lock discussion on issue. -m, --milestone string Title of the milestone to assign Set to "" or 0 to unassign. -p, --public Make issue public. --remove-estimate Remove the time estimate from the issue. --remove-time-spent Remove all time spent from the issue. --spend string Add time spent on the issue, for example '1h30m'. -t, --title string Title of issue. --unassign Unassign all users. -u, --unlabel strings Remove labels. --unlock-discussion Unlock discussion on issue. -w, --weight int Set weight of the issue. ``` ## Options inherited from parent commands ```plaintext -h, --help Show help for this command. -R, --repo string Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. ```