Fixes to ticket creation, especially when there's a project included, refs EMP-230