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

/subs­cribe
Enable notifi­cations
/unsu­bsc­ribe
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 ¯­\_(­ツ)_/¯.
/tabl­eflip <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
/dupl­icate #issue
Close current issue and mark duplicate to given issue - also marks them related
/relate #issue1 #issue2
Marks given issues as related
/copy­_me­tadata #issue
Copies labels and milestone from the given issue
/iter­ation *itera­tio­n:"i­ter­ation name"
Set iteration
/remo­ve_­ite­ration
Removes iteration
/weight n
Sets weight of issue to n
/clea­r_w­eight
Clears out weight
/mile­stone %mile­stone
Sets given milestone
/remo­ve_­mil­estone
Removes milestone
/due date
Set due date to date: "­202­0-1­2-3­1", "in 2 days", ­"this Friday­" or "­Dec­ember 31st"
/remo­ve_­due­_date
Removes due date
/epic epic
Add to epic: &e­pic­, g­rou­p&epic or URL to an epic
/remo­ve_­epic
Remove from epic
/conf­ide­ntial
Make confid­ential
/promote
Promote to epic
/publish
Publish to associated status page
/zoom zoom_­url
Add Zoom meeting to issue
/remo­ve_­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)
/unas­sign
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
/remo­ve_­est­imate
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.
/remo­ve_­tim­e_s­pent
Remove time spent

Merge Request specific

/crea­te_­mer­ge_­request branc­h_n­ame
Create a new merge request starting from the current issue
/targ­et_­branch local­_br­anc­h_n­ame
Set target branch
/wip or /draft
Toggle draft status
/approve
Approve the merge request
/subm­it_­review
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­_me­tadata !merg­e_r­equ­est
Copy labels and milestone from another merge request in the project

Epic specific

/pare­nt_epic epic
Set parent epic to epic
/remo­ve_­par­ent­_epic
Remove parent epic
/chil­d_epic epic
Add child epic to epic
/remo­ve_­chi­ld_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