Basic deeplinking functionality, see Redmine #246