Linking Commits to Tickets
Toshi Dávila avatar
Written by Toshi Dávila
Updated over a week ago

Did you know? You can use commit messages to add comments to tickets or change their status.

This feature does not limit your comments to only ticket-related information. You can include regular commit messages as well as references to a ticket number.

Linking commits to tickets

Using the syntax below, you can add an event in the ticket's activity that includes a link to the commit.

Syntax: Use re #4 to link your commit to ticket #4.

Also, "references", "refs" and "see" will add a comment to the target ticket.

Change a ticket status from a commit message

Use #4 to set ticket #4 to the target status. For example, "Test #4" or "Fixed #4".

Use #tickets or re #tickets to reference all affected tickets in merge request.


Have questions? Email us at








Did this answer your question?