Skip to content

mw gitlab milestone list

Releasev0.35.0 · cfeceb67

mw gitlab milestone list [flags]

Get a list of milestones for a project or group.

--group <string>
The ID or URL-encoded path of the group.
--include-ancestors
Include milestones from all parent groups.
-p, --page <int>
Page number. Default: 1.
-P, --per-page <int>
Number of items to list per page. Default: 20.
--project <string>
The ID or URL-encoded path of the project.
--search <string>
Return only milestones with a title or description matching the provided string.
--show-id
Show IDs in table output.
--state <string>
Return only 'active' or 'closed' milestones.
--title <string>
Return only the milestones having the given title.
-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
# List milestones for a given project
$ glab milestone list --project 123
$ glab milestone list --project example-group/project-path
# List milestones for a group
$ glab milestone list --group example-group
# List only active milestones for a given group
$ glab milestone list --group example-group --state active
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.