Skip to content

mw gitlab milestone create

Releasev0.35.0 · cfeceb67

mw gitlab milestone create [flags]

Create a group or project milestone.

--description <string>
Description of the milestone.
--due-date <string>
Due date for the milestone. Expected in ISO 8601 format (2025-04-15T08:00:00Z).
--group <string>
The ID or URL-encoded path of the group.
--project <string>
The ID or URL-encoded path of the project.
--start-date <string>
Start date for the milestone. Expected in ISO 8601 format (2025-04-15T08:00:00Z).
--title <string>
Title of the milestone.
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-R, --repo <OWNER/REPO>
Select another repository. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
# Create milestone for the current project
$ glab milestone create --title='Example title' --due-date='2025-12-16'
# Create milestone for the specified project
$ glab milestone create --title='Example group milestone' --due-date='2025-12-16' --project 123
# Create milestone for the specified group
$ glab milestone create --title='Example group milestone' --due-date='2025-12-16' --group 456
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.