When you commit a change to a Subversion repository using Tortoise-SVN, enter the case number in the BugzID edit box at the top right corner of the Enter Log Message dialog: