Using Commit Commands to Reference and/or Change the Status of Assembla Tickets
I use Assembla at work and it’s nice to have source code repositories, wikis, tickets and other useful things all in one place. In Assembla you work with tickets which are used for logging user stories, bugs, features as well as other things related to the software development process. I work with TortoiseSVN and VisualSVN (SVN integration for Visual Studio) in order to synchronize my code with the repository at Assembla. One nice feature of Assembla is the ability to use commit commands that enables you to reference and/or change the status of Assembla tickets directly from your commit messages. I’ve assembled some of the most useful ones below.
Referencing a ticket from a commit message
If you want to link your commit to a ticket you simply write “re #120” in order to link your commit to ticket number 120. A full example of this would be something like: “I’ve worked on improving the page load time (re #75)”.
Closing a ticket from a commit message
If you want to set the ticket status to closed, then you could use “Fixed #245” in order to set the status of ticket 245 to fixed. Another way of closing a ticket would be to mark it as invalid by writing “Invalid #223” which would close ticket 223 and mark it as invalid.
Setting ticket status as ‘Test’ from a commit message
A common task is to move a ticket from status programming to test which is easily done by writing “Test #190”.
As you can see, the commit commands simply follow the basic structure of “{Command} #{Ticket number}”, and they’re not case sensitive, so “test #120” would work just as well as “Test #120”.
Good luck!