One way to work around this is by naming your objects. ETP does this for each page. It uses the cr_item name and cr_item parent_id to define an item. Each "directory" is a cr_folder so ETP can find the item.
One possibility is to convert the bug "title" into text suitable for using in a URL. This would not make short URLs though. It would work for all the other elements of a bug URL, that is, the bugtracker instance name or site-node, the project and component names could be used as parts of the URL.