Skip to content

mw gitlab incident list

Releasev0.35.0 · cfeceb67

mw gitlab incident list [flags]

List project incidents.

-A, --all
Get all incidents.
-a, --assignee <string>
Filter incident by assignee <username>.
--author <string>
Filter incident by author <username>.
-c, --closed
Get only closed incidents.
-C, --confidential
Filter by confidential incidents.
-e, --epic <int>
List issues belonging to a given epic (requires --group, no pagination support).
-g, --group <string>
Select a group or subgroup. Ignored if a repo argument is set.
--in <string>
search in: title, description. Default: title,description.
-l, --label <strings>
Filter incident by label <name>. Multiple labels can be comma-separated or specified by repeating the flag.
-m, --milestone <string>
Filter incident by milestone <id>.
--not-assignee <string>
Filter incident by not being assigned to <username>.
--not-author <string>
Filter incident by not being by author(s) <username>.
--not-label <strings>
Filter incident by lack of label <name>. Multiple labels can be comma-separated or specified by repeating the flag.
--order <string>
Order incident by <field>. Order options: created_at, updated_at, priority, due_date, relative_position, label_priority, milestone_due, popularity, weight. Default: created_at.
-O, --output <string>
Options: 'text' or 'json'. Default: text.
-F, --output-format <string>
Options: 'details', 'ids', 'urls'. Default: details.
-p, --page <int>
Page number. Default: 1.
-P, --per-page <int>
Number of items to list per page. Default: 30.
-R, --repo <OWNER/REPO>
Select another repository. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
--search <string>
Search <string> in the fields defined by '--in'.
-s, --sort <string>
Sort direction for --order field: asc or desc. Default: desc.
-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)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
$ glab incident list --all
$ glab incident ls --all
$ glab incident list --assignee=@me
$ glab incident list --milestone release-2.0.0 --opened
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.