truncate the bug title when it is too long