Links with project/task identifier

At the moment the links to the tasks have a form of /task/N with global numbering, while tasks within project have separate numbering.

Say I use the task identifier in git to mark that the commit is associated with a particular task and later I would like to open the relevant task. As far as I can see there isn’t a way to do so at the moment.

Instead it would be great to have resolvable links in a form that have either both project and project-local task numbering or just task identifier (e.g. PRJ-55) in it, so that the number in commit can simply be typed into the URL and it will open the correct task. The latter is somewhat problematic I suppose due to project identifier being easily changeable, but that’s just an idea.

There is a somewhat adjacent discussion in Use random IDs instead of autoinc · Issue #476 · go-vikunja/vikunja · GitHub, but I’m definitely against some random ids, auto incrementing ones are fine, I just want a way to use the project-local numbering to easily link into tasks.

Welcome! :waving_hand:

I think it would make sense to have something like this. We would still need a way to get the project in your described use case though, but that is solvable.

I would merge a PR with this.