Commit f3774904 authored by Victor Wu's avatar Victor Wu Committed by Marcia Ramos

Docs quick actions - EE

parent 9091a5c4
...@@ -7,54 +7,75 @@ in comments of issues, epics, merge requests, and commits. Each command should b ...@@ -7,54 +7,75 @@ in comments of issues, epics, merge requests, and commits. Each command should b
on a separate line in order to be properly detected and executed. Once executed, on a separate line in order to be properly detected and executed. Once executed,
the commands are removed from the text body and not visible to anyone else. the commands are removed from the text body and not visible to anyone else.
Below is a list of all of the available commands, where they apply, and descriptions ## Quick actions for issues and merge requests
about what they do.
The following quick actions are applicable to both issues and merge requests threads,
docs-quick-actions-table discussions, and descriptions:
| Command | Action | Issue | Merge request |
|:---------------------------|:------------------------------ |:------|:--------------|
| Command | Action | Issue | Epic | Merge request | Commit | | `/tableflip <Comment>` | Append the comment with `(╯°□°)╯︵ ┻━┻` | ✓ | ✓ |
|:---------------------------|:-----------------------|:------|:-----|:--------------|:-------| | `/shrug <Comment>` | Append the comment with `¯\_(ツ)_/¯` | ✓ | ✓ |
| `/close` | Close | ✓ | ✓ | ✓ | | | `/todo` | Add a todo | ✓ | ✓ |
| `/reopen` | Reopen | ✓ | ✓ | ✓ | | | `/done` | Mark todo as done | ✓ | ✓ |
| `/merge` | Merge (when pipeline succeeds) | | | ✓ | | | `/subscribe` | Subscribe | ✓ | ✓ |
| `/title <New title>` | Change title | | ✓ | ✓ | ✓ | | | `/unsubscribe` | Unsubscribe | ✓ | ✓ |
| `/assign @username` | Assign | ✓ | | ✓ | | | `/close` | Close | ✓ | ✓ |
| `/unassign` | Remove assignee | ✓ | | ✓ | | | `/reopen` | Reopen | ✓ | ✓ |
| `/milestone %milestone` | Set milestone | ✓ | | ✓ | | | `/title <New title>` | Change title | ✓ | ✓ |
| `/remove_milestone` | Remove milestone | ✓ | | ✓ | | | `/award :emoji:` | Toggle emoji award | ✓ | ✓ |
| `/label ~foo ~"bar baz"` | Add label(s) | ✓ | | ✓ | | | `/assign @user` | Assign one user | ✓ | ✓ |
| `/unlabel ~foo ~"bar baz"` | Remove all or specific label(s)| ✓ | | ✓ | | | `/assign @user1 @user2` | Assign multiple users **[STARTER]** | ✓ | |
| `/relabel ~foo ~"bar baz"` | Replace all label(s) | ✓ | | ✓ | | | `/unassign` | Remove assignee(s) | ✓ | ✓ |
| `/todo` | Add a todo | ✓ | ✓ | ✓ | | | `/reassign @user1 @user2` | Change assignee | ✓ | ✓ |
| `/done` | Mark todo as done | ✓ | ✓ | ✓ | | | `/milestone %milestone` | Set milestone | ✓ | ✓ |
| `/subscribe` | Subscribe | ✓ | ✓ | ✓ | | | `/remove_milestone` | Remove milestone | ✓ | ✓ |
| `/unsubscribe` | Unsubscribe | ✓ | ✓ | ✓ | | | `/label ~label1 ~label2` | Add label(s) | ✓ | ✓ |
| <code>/due &lt;in 2 days &#124; this Friday &#124; December 31st&gt;</code> | Set due date | ✓ | | | | | `/unlabel ~label1 ~label2` | Remove all or specific label(s)| ✓ | ✓ |
| `/remove_due_date` | Remove due date | ✓ | | | | | `/relabel ~label1 ~label2` | Replace label | ✓ | ✓ |
| `/wip` | Toggle the Work In Progress status | | | ✓ | | | <code>/copy_metadata #issue &#124; !merge_request</code> | Copy labels and milestone from other issue or merge request | ✓ | ✓ |
| <code>/estimate &lt;1w 3d 2h 14m&gt;</code> | Set time estimate | ✓ | | ✓ | | | <code>/estimate &lt;1w 3d 2h 14m&gt;</code> | Set time estimate | ✓ | ✓ |
| `/remove_estimate` | Remove estimated time | ✓ | | ✓ | | | `/remove_estimate` | Remove time estimate | ✓ | ✓ |
| <code>/spend &lt;time(1h 30m &#124; -1h 5m)&gt; &lt;date(YYYY-MM-DD)&gt;</code> | Add or subtract spent time; optionally, specify the date that time was spent on | ✓ | | | ✓ | | <code>/spend &lt;time(1h 30m &#124; -1h 5m)&gt; &lt;date(YYYY-MM-DD)&gt;</code> | Add or subtract spent time; optionally, specify the date that time was spent on | ✓ | ✓ |
| `/remove_time_spent` | Remove time spent | ✓ | | ✓ | | | `/remove_time_spent` | Remove time spent | ✓ | ✓ |
| `/target_branch <Branch Name>` | Set target branch for current merge request | | | ✓ | | | <code>/due &lt;in 2 days &#124; this Friday &#124; December 31st&gt;</code>| Set due date | ✓ |
| `/award :emoji:` | Toggle award for :emoji: | ✓ | ✓ | ✓ | | | `/remove_due_date` | Remove due date | ✓ | |
| `/weight <0-999999999>` | Set the weight of the issue | ✓ | | | | | `/weight 0,1,2, ...` | Set weight **[STARTER]** | ✓ | |
| `/clear_weight` | Clears the issue weight | ✓ | | | | | `/clear_weight` | Clears weight **[STARTER]** | ✓ | |
| `/board_move ~column` | Move issue to column on the board | ✓ | | | | | `/epic <group&epic &#124; Epic URL>` | Add to epic **[ULTIMATE]** | ✓ | |
| `/duplicate #issue` | Closes this issue and marks it as a duplicate of another issue | ✓ | | | | | `/remove_epic` | Removes from epic **[ULTIMATE]** | ✓ | |
| `/move path/to/project` | Moves issue to another project | ✓ | | | | | `/confidential` | Make confidential | ✓ | |
| `/tag v1.2.3 <message>` | Tags a commit with a given tag name and optional message | | | | ✓ | | `/duplicate #issue` | Mark this issue as a duplicate of another issue | ✓ |
| `/tableflip` | Append the comment with `(╯°□°)╯︵ ┻━┻` | ✓ | ✓ | ✓ | ✓ | | `/move path/to/project` | Move this issue to another project | ✓ | |
| `/shrug` | Append the comment with `¯\_(ツ)_/¯` | ✓ | ✓ | ✓ | ✓ | | `/target_branch <Local branch Name>` | Set target branch | | ✓ |
| <code>/copy_metadata #issue &#124; !merge_request</code> | Copy labels and milestone from other issue or merge request | ✓ | | ✓ | | | `/wip` | Toggle the Work In Progress status | | ✓ |
| `/confidential` | Makes the issue confidential | ✓ | | | | | `/merge` | Merge (when pipeline succeeds) | | ✓ |
| `/epic <group&epic OR Epic URL>` | Adds an issue to an epic | | ✓ | | |
| `/remove_epic` | Removes an issue from an epic | | ✓ | | |
| `/lock` | Lock the discussion | ✓ | | | ✓ | ## Quick actions for commit messages
| `/unlock` | Unlock the discussion | ✓ | | | ✓|
The following quick actions are applicable for commit messages:
Note: In GitLab Starter every issue can have more than one assignee, so commands `/assign`, `/unassign` and `/reassign` | Command | Action |
support multiple assignees. |:------------------------|:------------------------------------------|
| `/tag v1.2.3 <message>` | Tags this commit with an optional message |
## Quick actions for Epics **[ULTIMATE]**
The following quick actions are applicable for epics threads and description:
| Command | Action |
|:---------------------------|:----------------------------------------|
| `/tableflip <Comment>` | Append the comment with `(╯°□°)╯︵ ┻━┻` |
| `/shrug <Comment>` | Append the comment with `¯\_(ツ)_/¯` |
| `/todo` | Add a todo |
| `/done` | Mark todo as done |
| `/subscribe` | Subscribe |
| `/unsubscribe` | Unsubscribe |
| `/close` | Close |
| `/reopen` | Reopen |
| `/title <New title>` | Change title |
| `/award :emoji:` | Toggle emoji award |
| `/label ~label1 ~label2` | Add label(s) |
| `/unlabel ~label1 ~label2` | Remove all or specific label(s) |
| `/relabel ~label1 ~label2` | Replace label |
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment