added support for optionally restricting ticket ids to numeric format
Some pull requests don't have 'user' attributes

This causes problems because PullRequest and the view were
both assuming there would always be a user section to the data.