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:
http://fogbugz.lw:8080/@md=d&cd=//&c=6fI@/^R2?ac=10
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:
http://crucible:8060/changelog/LWNT/?cs=^R2
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:
http://crucible:8060/changelog/^R3/?cs=^R2
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.