2016-06-30 15:34:19 +00:00
|
|
|
# GitLab slash commands
|
|
|
|
|
|
|
|
Slash commands are textual shortcuts for common actions on issues or merge
|
|
|
|
requests that are usually done by clicking buttons or dropdowns in GitLab's UI.
|
|
|
|
You can enter these commands while creating a new issue or merge request, and
|
|
|
|
in comments. Each command should be on a separate line in order to be properly
|
|
|
|
detected and executed.
|
|
|
|
|
|
|
|
Here is a list of all of the available commands and descriptions about what they
|
|
|
|
do.
|
|
|
|
|
|
|
|
| Command | Aliases | Action |
|
|
|
|
|:---------------------------|:--------------------|:-------------|
|
|
|
|
| `/close` | None | Close the issue or merge request |
|
2016-08-13 01:23:49 +00:00
|
|
|
| `/reopen` | `/open` | Reopen the issue or merge request |
|
2016-08-09 18:54:18 +00:00
|
|
|
| `/title <New title>` | None | Change title |
|
2016-08-13 01:23:49 +00:00
|
|
|
| `/assign @username` | None | Assign |
|
2016-06-30 15:34:19 +00:00
|
|
|
| `/unassign` | `/remove_assignee` | Remove assignee |
|
2016-08-09 20:47:29 +00:00
|
|
|
| `/milestone %milestone` | None | Set milestone |
|
2016-06-30 15:34:19 +00:00
|
|
|
| `/clear_milestone` | `/remove_milestone` | Remove milestone |
|
|
|
|
| `/label ~foo ~"bar baz"` | `/labels` | Add label(s) |
|
|
|
|
| `/unlabel ~foo ~"bar baz"` | `/remove_label`, `remove_labels` | Remove label(s) |
|
|
|
|
| `/clear_labels` | `/clear_label` | Clear all labels |
|
|
|
|
| `/todo` | None | Add a todo |
|
|
|
|
| `/done` | None | Mark todo as done |
|
|
|
|
| `/subscribe` | None | Subscribe |
|
|
|
|
| `/unsubscribe` | None | Unsubscribe |
|
2016-08-13 01:23:49 +00:00
|
|
|
| `/due <in 2 days; this Friday; December 31st>` | `/due_date` | Set due date |
|
2016-06-30 15:34:19 +00:00
|
|
|
| `/clear_due_date` | None | Remove due date |
|