Is there a way to generate a URL to a bug based on the bug number?

Is there a way to generate a URL to a bug based on the bug number?

Hi there,

I have several projects.   Each have their own Bug identifier letters.
For example for project A I have PA as bug identifier and the bugs are named PA1, PA2, etc.

I'd like to know if there's a way I can create the bug's URL based on the bug number (PA1).

I imagine that if there was an API for bugs this would be doable, but it appears there's no such thing at this point..

Thanks!
- Joao