glab(1)
πΈ glab(1) β the glab work-items update glow-up guide πΈ
okay bestie, you're looking at glab-work-items-update β the command that updates work items in a project or group π
(it's marked EXPERIMENTAL, and we'll get to why that matters in a sec)
β¨ SYNOPSIS β¨
glab work-items update [flags]
(yes there really are two spaces there, that's not me being chaotic, that's canon π)
π DESCRIPTION π
The way this command works is genuinely iconic: it uses your repository context to detect scope automatically. no flags, no fuss, it just knows π§
Use --group to target a group or subgroup. and heads up β --group and --repo are mutually exclusive, so pick a lane bestie, you can't have both π
--attach uploads a file and references it at the end of the description. Repeat the flag if you want more than one file, or pass - to read the file from standard input. And listen: without --description, the references get added to the description the work item already has instead of replacing it β so it's additive, not destructive, we love that π«Ά. One thing though: uploads are project-scoped, so --attach cannot be combined with --group. no cap.
--parent accepts a work item ID in the current scope, a reference such as group/project#123, or a URL. flexible queen π
β οΈ okay so this is the important part: this feature is an experiment and is not ready for production use. It might be unstable or be removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/. don't say I didn't warn you π
π¦ OPTIONS π¦
-a,--assignee=[]β update the work item assignee with the supplied GitLab usernames π₯--attach=[]β (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 π-d,--description=""β update the description for the work item βοΈ--description-file=""β read the work item description from a file. Use-to read from standard input π--duedate=""β update the due date for the work item π-g,--group=""β update work items for a group or subgroup π―--iteration=0β move the work item to the iteration with this ID π--jq=""β filter JSON output with a jq expression π-m,--milestone=""β update the work item milestone with the title or ID π©-F,--output="text"β format output as:text,jsonπ--parent=""β set the parent work item by , reference, or URL. (yes, the manpage literally has a gap there before the comma β I'm not fixing it, I'm just reporting it π)-R,--repo=""β select another repository. You can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted π--startdate=""β update the start date for the work item ποΈ-t,--title=""β update the title for the work item βοΈ-w,--weight=0β update the weight value for the work item βοΈ
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command π«Ά
β EXAMPLE β
okay these examples ate, let's go through them π
# Update a work item in current project
glab work-items update 42 --description "this issue tracks a new feature"
# Update a work item in a group
glab work-items update 40 --group MYGROUP --description "this epic tracks a new feature"
# Read the description from a file
glab work-items update 42 --description-file description.md
# Read the description from standard input
cat description.md | glab work-items update 42 --description-file -
# Add a screenshot to the existing description
glab work-items update 42 --attach ./screenshot.png
# Move a work item to another iteration
glab work-items update 42 --iteration 123
# Move a work item under work item 40
glab work-items update 42 --parent 40
# Move a work item under a work item in another project
glab work-items update 42 --parent https://gitlab.com/my-group/my-project/-/work_items/40
π₯ SEE ALSO π₯
glab-work-items(1)β go read the parent page too, iykyk π
that's the whole thing bestie, go forth and update some work items πΈ
sign-off: this page was auto generated by spf13/cobra and dated Nov 2026 β so yeah, it's giving machine-made but we made it cute πβ¨
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms