# HG changeset patch # User Tomas Zeman # Date 1640949917 -3600 # Node ID c4f9f37e9a282ae3504eb1ee6065d90be5ea962a # Parent eace2739e6b8020c163f6177a4828207d506fd5f Fossil SCM: Linking Tickets to Checkin's http://chiselapp.com/user/cutterpillow/repository/fossil-iOS/wiki?name=Cookbook#ticket-checkin-links diff -r eace2739e6b8 -r c4f9f37e9a28 fossil/ticket-checkin-link --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fossil/ticket-checkin-link Fri Dec 31 12:25:17 2021 +0100 @@ -0,0 +1,26 @@ +http://chiselapp.com/user/cutterpillow/repository/fossil-iOS/wiki?name=Cookbook#ticket-checkin-links + +Linking Tickets to Checkin's + +It's easy to link a checkin to a ticket... simply include [ticket-uuid] in your commit comment. Now, when you do that, you also have the ability to link a ticket to the associated checkin(s). + +This is just one way of doing this, and what I decided to do. You can of course alter it for your own style/layout. + +First: Add a "Short UUID" to your View Ticket page. You can do this by: + + +set shortUuid [string range $tkt_uuid 0 9] + + +Then, display that to the user somewhere: + +Uuid: $ + +All that does is make it easy for the developer to copy/paste a sensible UUID into their commit log. + +Now, continuing, on the same View Page add a link to view associated tickets: + +associated tickets + +What this does is searches all checkin's for the tickets uuid, thus, you can now see all checkin's that are linked with the given ticket. +