Fossil SCM: Linking Tickets to Checkin's
http://chiselapp.com/user/cutterpillow/repository/fossil-iOS/wiki?name=Cookbook#ticket-checkin-links
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:
<th1>
set shortUuid [string range $tkt_uuid 0 9]
</th1>
Then, display that to the user somewhere:
Uuid: $<shortUuid>
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:
<a href="$<baseurl>/timeline?y=ci&s=$<shortUuid>">associated tickets</a>
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.