Skip to main content

Linking Commits to Tickets

Toshi Dávila avatar
Written by Toshi Dávila
Updated over 10 months ago

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 following syntax, you can add an event in the ticket's activity that includes a link to the commit.

re #

For example, use re #4 to link your commit to ticket #4.

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

Changing 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 support@assembla.com

Did this answer your question?