Difference between revisions of "Glab issue create"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
glab issue create [flags] | glab issue create [flags] | ||
− | ALIASES | + | ALIASES |
− | + | new | |
− | FLAGS | + | FLAGS |
− | + | -a, --assignee usernames Assign issue to people by their usernames | |
− | + | -c, --confidential Set an issue to be confidential. Default is false | |
− | + | -d, --description string Supply a description for issue | |
− | + | -l, --label strings Add label by name. Multiple labels should be comma separated | |
− | + | --link-type string Type for the issue link (default "relates_to") | |
− | + | --linked-issues ints The IIDs of issues that this issue links to | |
− | + | --linked-mr int The IID of a merge request in which to resolve all issues | |
− | + | -m, --milestone string The global ID or title of a milestone to assign | |
− | + | --no-editor Don't open editor to enter description. If set to true, uses prompt. Default is false | |
− | + | -t, --title string Supply a title for issue | |
− | + | --web continue issue creation with web interface | |
− | + | -w, --weight int The weight of the issue. Valid values are greater than or equal to 0. | |
− | + | -y, --yes Don't prompt for confirmation to submit the issue | |
− | INHERITED FLAGS | + | INHERITED FLAGS |
− | + | --help Show help for command | |
− | + | -R, --repo OWNER/REPO Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL | |
− | EXAMPLES | + | EXAMPLES |
− | + | $ 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 | |
+ | |||
+ | LEARN MORE | ||
+ | Use 'glab <command> <subcommand> --help' for more information about a command. | ||
− | |||
− | |||
− | |||
== See also == | == See also == |
Revision as of 08:56, 24 August 2022
glab issue create --title "your title" -a your-user glab issue create --title "your title"
glab issue create --help Create an issue
USAGE glab issue create [flags]
ALIASES new
FLAGS -a, --assignee usernames Assign issue to people by their usernames -c, --confidential Set an issue to be confidential. Default is false -d, --description string Supply a description for issue -l, --label strings Add label by name. Multiple labels should be comma separated --link-type string Type for the issue link (default "relates_to") --linked-issues ints The IIDs of issues that this issue links to --linked-mr int The IID of a merge request in which to resolve all issues -m, --milestone string The global ID or title of a milestone to assign --no-editor Don't open editor to enter description. If set to true, uses prompt. Default is false -t, --title string Supply a title for issue --web continue issue creation with web interface -w, --weight int The weight of the issue. Valid values are greater than or equal to 0. -y, --yes Don't prompt for confirmation to submit the issue
INHERITED FLAGS --help Show help for command -R, --repo OWNER/REPO Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
EXAMPLES $ 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
LEARN MORE Use 'glab <command> <subcommand> --help' for more information about a command.
See also
- GitLab Issues:
glab issue [ list | update | note | board ]
glab [ glab auth login | issue | list | ci | repo ]
,version, glab --help
Advertising: