I have Fogbugz linked up to Perforce via the PERL script. I can click on a checkin and it currently tries a URL in the following form to jump to a changelist description on P4Web:
where R2 is the changelist picked up from Fogbugz database.
However, rather than point to P4Web, I would rather point it at Fisheye (part of a Crucible installation). So in the admin control I can change the link so it picks it up, e.g:
This works, as long as my project in Fisheye is "LWNT". But in Fisheye I actually have a number of projects, with a 1-2-1 correspondence with the Fogbugz projects (but not the same name, unfortunately).
So, can I modify the URL so it can take in either the project or a string value associated with the project. E.g:
Where R3 is the project name/associated value.
I could, at at stretch, modify my Fogbugz project names to exactly match the project ID's in Fisheye, but would prefer not to - hence the query about using an associated value rather than the project name directly.
Having done this, I would also like to extend the same logic to the diffs URL.