Show Menu
Cheatography

GitLab Quick Actions Cheat Sheet by

A structured overview for GitLab Quick Actions found on https://docs.gitlab.com/ee/user/project/quick_actions.html

Generic: Issues, Merge Requests, Epics

/title <ti­tle>
Set or update title
/reopen
Reopen
/close
Close
/done
Done
/todo
Add to ToDo liste
/award :emoji:
Switch award emoji

Notifi­cation: Issues, Merge Requests, Epics

/subscribe
Enable notifi­cations
/unsub­scribe
Disable notifi­cations

Comments: Issues, Merge Requests, Epics

/lock
Lock the comment section
/unlock
Unlock the comment section
/shrug <co­mme­nt>
Append the comment with ¯­\_(­ツ)_/¯.
/tableflip <co­mme­nt>
Append the comment with (­╯°□°)╯︵ ┻━┻.

Issue specific

/move <pa­th/­to/­pro­jec­t>
Move issue to another project
/clone <pa­th/­to/­pro­jec­t>
Clones issue in current or given project
/duplicate #issue
Close current issue and mark duplicate to given issue - also marks them related
/relate #issue1 #issue2
Marks given issues as related
/copy_­met­adata #issue
Copies labels and milestone from the given issue
/iteration *itera­tio­n:"i­ter­ation name"
Set iteration
/remov­e_i­ter­ation
Removes iteration
/weight n
Sets weight of issue to n
/clear­_weight
Clears out weight
/milestone %milestone
Sets given milestone
/remov­e_m­ile­stone
Removes milestone
/due date
Set due date to date: "­202­0-1­2-3­1", "in 2 days", ­"this Friday­" or "­Dec­ember 31st"
/remov­e_d­ue_date
Removes due date
/epic epic
Add to epic: &e­pic­, g­rou­p&epic or URL to an epic
/remov­e_epic
Remove from epic
/confi­dential
Make confid­ential
/promote
Promote to epic
/publish
Publish to associated status page
/zoom zoom_url
Add Zoom meeting to issue
/remov­e_zoom
Removes Zoom meeting
 

Labeling: Issues, Merge Requests, Epics

/label label1 label2
Add one or more labels
/relabel label1 label2
Replace current labels with the given ones
/unlabel
Remove all labels
/unlabel label1 label2
remove the given labels

Assign­ement: Issues, Merge Requests

/assign @user1 @user2
Assign one or more user
/assign me
Self-a­ssign item
/reassign @user1 @user2
Replace assign­ee(s) with given one(s)
/unassgin @user1 @user2
Unassign given user(s)
/unassign
Remove (all) assign­ee(s)

Time tracking: Issues, Merge Requests

/estimate nw nd nh nm
Set estimated time e.g. /estimate 1w 2d 3h 4m
/remov­e_e­stimate
Remove time estimate
/spend time(nh nm) date(Y­YYY­-MM-DD)
Add or substract spent time, optional specify a date the time was spent on.
/remov­e_t­ime­_spent
Remove time spent

Merge Request specific

/creat­e_m­erg­e_r­equest branch­_name
Create a new merge request starting from the current issue
/targe­t_b­ranch local_­bra­nch­_name
Set target branch
/wip or /draft
Toggle draft status
/approve
Approve the merge request
/submi­t_r­eview
Submit a pending review
/merge
Merge changes. Depending on the project setting, this may be when the pipeline succeeds, adding to a Merge Train, etc.
/copy_­met­adata !merge­_re­quest
Copy labels and milestone from another merge request in the project

Epic specific

/paren­t_epic epic
Set parent epic to epic
/remov­e_p­are­nt_epic
Remove parent epic
/child­_epic epic
Add child epic to epic
/remov­e_c­hil­d_epic epic
Remove child epic from epic
An epic value can be provided in form of &e­­pic­, g­rou­­p&epic or URL to an epic
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          GitLab Markdown Cheat Sheet