glab(1)
π glab(1) β glab-issue-create π
β¨ NAME β¨
glab-issue-create β create an issue. π Bestie, this is the command that lets you drop a fresh issue into your GitLab repo, and it's giving main character energy.
π¦ SYNOPSIS π¦
glab issue create [flags]
πΈ DESCRIPTION πΈ
okay so glab issue create opens an editor so you can draft the issue, unless you pass a title and description. Use --web to create the issue in your browser instead, or --template to start from an issue template. Slay.
--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. An attachment satisfies the description requirement, so --title with --attach completes without prompting. lowkey iconic.
β οΈ The--attachflag is an experiment. It might be unstable or removed at any time, and is not ready for production use. For more information, seehttps://docs.gitlab.com/policy/development_stages_support/.
β οΈ The--recoverflag is an experiment: it might be unstable or removed at any time, and is not ready for production use. For more information, seehttps://docs.gitlab.com/policy/development_stages_support/.
π OPTIONS π
-a,--assignee=[]β assign the issue to people by their usernames. Multiple usernames can be comma-separated or specified by repeating the flag. π--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. π-c,--confidential[=false]β set an issue to be confidential. π€«-d,--description=""β issue description. Set to"-"to open an editor. βοΈ--description-file=""β read the issue description from a file. Use"-"to read from standard input. π--due-date=""β a date in'YYYY-MM-DD'format. π--epic=0β ID of the epic to add the issue to. π-l,--label=[]β add label by name. Multiple labels can be comma-separated or specified by repeating the flag. π·οΈ--link-type="relates_to"β type for the issue link. π--linked-issues=[]β the IIDs of issues that this issue links to. Multiple IIDs can be comma-separated or specified by repeating the flag. π¦--linked-mr=0β the IID of a merge request in which to resolve all issues. π«Ά-m,--milestone=""β the global ID or title of a milestone to assign. β--no-editor[=false]β don't open editor to enter a description. If set to true, uses prompt. π--recover[=false]β save the options to a file if the issue fails to be created. If the file exists, the options will be loaded from the recovery file. (EXPERIMENTAL) π--template=""β template to pre-populate the description. A name is looked up in'.gitlab/issue_templates/'of the local repository, and the'.md'extension is optional. A value that is absolute or contains a path separator is read as a file path, for example'~/templates/bug.md'. π§-e,--time-estimate=""β set time estimate for the issue. β³-s,--time-spent=""β set time spent for the issue. β-t,--title=""β issue title. β¨--web[=false]β continue issue creation with web interface. π-w,--weight=0β issue weight. Valid values are greater than or equal to0. βοΈ-y,--yes[=false]β don't prompt for confirmation to submit the issue. β
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command. π«Ά-R,--repo=""β select another repository. You can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. π₯
π EXAMPLE π
glab issue create
glab issue new
glab issue create -m release-2.0.0 -t "we need this feature" --label important
glab issue new -t "Fix CVE-YYYY-XXXX" -l security --linked-mr 123
glab issue create -m release-1.0.1 -t "security fix" --label security --web --recover
glab issue create -t "Bug Report" --template bug
glab issue create -t "Feature Request" --template feature_proposal.md --yes
# Use a template file from outside the repository
glab issue create -t "Bug Report" --template ~/team-templates/bug.md
# Read the description from a file
glab issue create -t "we need this feature" --description-file description.md
# Read the description from standard input
cat description.md | glab issue create -t "we need this feature" --description-file -
# Attach a screenshot to the description
glab issue create -t "Login button misaligned" -d "See below." --attach ./screenshot.png
π SEE ALSO π
okay that's the whole page, bestie! this was auto generated by spf13/cobra, dated Nov 2026, and it's the glab(1) manual β byeee π
π«Ά
π¦ 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